luyadev / luya-module-admin
Administration core module for all LUYA admin modules
Installs: 142 742
Dependents: 32
Suggesters: 0
Security: 0
Stars: 48
Watchers: 14
Forks: 56
Open Issues: 29
Type:luya-core
Requires
- php: >=8.0
- bizley/jwt: ^3.3
- flowjs/flow-php-server: ^1.0
- luyadev/luya-core: ^2.2
- robthree/twofactorauth: ^1.7
- yiisoft/yii2-imagine: ^2.1
- yiisoft/yii2-queue: ^2.3.6
Requires (Dev)
- bower-asset/angular: ^1.8.2
- bower-asset/angular-filter: ^0.5.15
- bower-asset/angular-loading-bar: ^0.9.0
- bower-asset/bowser: ^1.9
- bower-asset/echarts: ^5.0
- bower-asset/ng-file-upload: ^12.2.0
- bower-asset/ng-flow: ^2.7.0
- bower-asset/ng-wig: ^3.0.0
- bower-asset/twigjs-bower: ^0.10.5
- bower-asset/ui-cropper: ^1.0
- bower-asset/ui-router: ^0.4.0
- cebe/php-openapi: ^1.4
- friendsofphp/php-cs-fixer: ^3.2
- luyadev/luya-testsuite: ^2.0
- phpstan/phpstan: ^1.7
- rector/rector: ^0.14.2
- twbs/bootstrap: ^4.5
- unglue/client: ^1.5
Suggests
- cebe/php-openapi: Is required in order to generate the OpenAPI File.
- dev-master
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.9.1
- 4.9.0
- 4.8.0
- 4.7.2
- 4.7.1
- 4.7.0
- 4.6.0
- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.x-dev
- 4.0.0
- 3.9.1
- 3.9.0
- 3.8.0
- 3.7.1
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.x-dev
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.x-dev
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.2.x-dev
- 1.2.3.1
- 1.2.3
- 1.2.2.1
- 1.2.2
- 1.2.1
- 1.2.0.1
- 1.2.0
- 1.1.x-dev
- 1.1.1.4
- 1.1.1.3
- 1.1.1.2
- 1.1.1.1
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.3.1
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-RC4
- 1.0.0-RC3
- 1.0.0-RC2
- 1.0.0-RC1
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
This package is auto-updated.
Last update: 2024-10-06 11:40:03 UTC
README
LUYA Administration Interface module
Administration Interface based on AngularJs, Bootstrap 4 and Yii 2 Framework (which is wrapped in the LUYA CORE).
- 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.
Installation
For the installation of modules Composer is required.
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.
'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.
./vendor/bin/luya migrate
2.) Import the module and migrations into your LUYA project.
./vendor/bin/luya import
3.) Create admin user and and user groups.
./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.
Unit Testing
cp phpunit.xml.dist phpunit.xml
docker-compose up
docker-compose run luyaadminphpunit tests
to run all tests ordocker-compose run luyaadminphpunit tests/src/helpers/UrlTest.php
to run a specific test.