Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luyadev/luya-module-admin
Administration base module for all LUYA admin modules
https://github.com/luyadev/luya-module-admin
admin angular bootstrap4 crud hacktoberfest luya php yii2
Last synced: 5 days ago
JSON representation
Administration base module for all LUYA admin modules
- Host: GitHub
- URL: https://github.com/luyadev/luya-module-admin
- Owner: luyadev
- License: mit
- Created: 2015-01-05T10:51:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T11:12:56.000Z (11 months ago)
- Last Synced: 2024-04-17T04:02:33.770Z (10 months ago)
- Topics: admin, angular, bootstrap4, crud, hacktoberfest, luya, php, yii2
- Language: PHP
- Homepage: https://luya.io
- Size: 47.3 MB
- Stars: 48
- Watchers: 14
- Forks: 57
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
![]()
# LUYA Administration Interface module
[![LUYA](https://img.shields.io/badge/Powered%20by-LUYA-brightgreen.svg)](https://luya.io)
![Tests](https://github.com/luyadev/luya-module-admin/workflows/Tests/badge.svg)
[![Test Coverage](https://api.codeclimate.com/v1/badges/26ce6892fcb4899cbd49/test_coverage)](https://codeclimate.com/github/luyadev/luya-module-admin/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/26ce6892fcb4899cbd49/maintainability)](https://codeclimate.com/github/luyadev/luya-module-admin/maintainability)
[![Latest Stable Version](https://poser.pugx.org/luyadev/luya-module-admin/v/stable)](https://packagist.org/packages/luyadev/luya-module-admin)
[![Total Downloads](https://poser.pugx.org/luyadev/luya-module-admin/downloads)](https://packagist.org/packages/luyadev/luya-module-admin)Administration Interface based on [AngularJs](https://angularjs.org/), [Bootstrap 4](https://getbootstrap.com) and [Yii 2 Framework](https://www.yiiframework.com/) (which is wrapped in the LUYA CORE).
![LUYA Admin Interface](https://raw.githubusercontent.com/luyadev/luya/master/docs/images/dashboard.png)
+ CRUD (based on RESTful and Angular)
+ Scaffolding CRUDs
+ Syncing Project between Environments
+ Storage System for Files and Images, also known as File Manager.
+ Permission System with Users and Groups.
+ Searching trough all Modules and Models.![croping](https://raw.githubusercontent.com/luyadev/luya/master/docs/images/crop.png)
![i18n](https://raw.githubusercontent.com/luyadev/luya/master/docs/images/i18n.png)
## Installation
For the installation of modules Composer is required.
```sh
composer require luyadev/luya-module-admin
```> Minum PHP Version 7.4 is required for `luya-module-admin`
### Configuration
After installation via Composer include the module to your configuration file within the modules section.
```php
'modules' => [
// ...
'admin' => [
'class' => 'luya\admin\Module',
]
]
```### Initialization
After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.
1.) Migrate your database.
```sh
./vendor/bin/luya migrate
```2.) Import the module and migrations into your LUYA project.
```sh
./vendor/bin/luya import
```3.) Create admin user and and user groups.
```sh
./vendor/bin/luya admin/setup
```You can now login to your Administration Interface by adding the admin module in the Url: `http://example.com/admin`
## Developers
If you want to contribute, make sure to read the [guidelines](https://luya.io/guide/dev/guideline).
## Unit Testing
1. `cp phpunit.xml.dist phpunit.xml`
2. `docker-compose up`
3. `docker-compose run luyaadminphpunit tests` to run all tests or `docker-compose run luyaadminphpunit tests/src/helpers/UrlTest.php` to run a specific test.