kvr001 / yii2-admin
RBAC Auth manager for Yii2
Installs: 1 774
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 577
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.7
Requires (Dev)
- yiisoft/yii2-codeception: ~2.0
Suggests
- yiisoft/yii2-bootstrap: Used when using layout 'left-menu', 'right-menu' or 'top-menu'
This package is auto-updated.
Last update: 2024-11-07 01:03:30 UTC
README
GUI manager for RBAC (Role Base Access Control) Yii2. Easy to manage authorization of user 😄.
Documentation
Important: If you install version 3.x, please see this readme.
- Change Log.
- Authorization Guide. Important, read this first before you continue.
- Basic Configuration
- Basic Usage.
- User Management.
- Using Menu.
- Api.
Installation
Install With Composer
The preferred way to install this extension is through composer.
Either run
php composer.phar require mdmsoft/yii2-admin "~1.0"
or
php composer.phar require mdmsoft/yii2-admin "~2.0"
or for the dev-master
php composer.phar require mdmsoft/yii2-admin "2.x-dev"
Or, you may add
"mdmsoft/yii2-admin": "~2.0"
to the require section of your composer.json
file and execute php composer.phar update
.
Install From the Archive
Download the latest release from here releases, then extract it to your project. In your application config, add the path alias for this extension.
return [ ... 'aliases' => [ '@mdm/admin' => 'path/to/your/extracted', // for example: '@mdm/admin' => '@app/extensions/mdm/yii2-admin-2.0.0', ... ] ];