GUI manager for RABC (Role Base Access Control) Yii2. Easy to manage authorization of user 😄.
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.
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
.
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',
...
]
];