Yii2 RBAC ¶
RBAC / Auth Manager for Yii2 Extends 'mdmsoft/yii2-admin': '~2.0'
Documentation ¶
Disclaimer: This package is actually only used to make it easier for me to build my personal application, but if you are interested please just try it. This package is extends from 'mdmsoft/yii2-admin': '~2.0', you can also use documentation from https://github.com/mdmsoft/yii2-admin/.
- Change Log.
- Installation.
- Authorization Guide. Important, read this first before you continue.
- Configuration
- Using Menu.
- Screenshots.
Installation ¶
Install With Composer ¶
The preferred way to install this extension is through composer.
Either run
composer require diecoding/yii2-rbac "dev-master"
Or, you may add
"diecoding/yii2-rbac": "dev-master"
to the require section of your composer.json
file and execute composer 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' => [
'@diecoding/rbac' => 'path/to/your/extracted',
// for example
// '@diecoding/rbac' => '@app/extensions/diecoding/yii2-rbac-1.0.0',
...
],
...
];
Please, don't you have a documentation for this extension. What exactly differentiates from Yii 2 default RBAC component.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.