Yii2 RBAC
RBAC / Auth Manager for Yii2 Extends 'mdmsoft/yii2-admin': '~2.0'
, (*1)
, (*2)
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/., (*3)
Installation
Install With Composer
The preferred way to install this extension is through composer., (*4)
Either run, (*5)
composer require diecoding/yii2-rbac "dev-master"
Or, you may add, (*6)
"diecoding/yii2-rbac": "dev-master"
to the require section of your composer.json
file and execute composer update
., (*7)
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., (*8)
return [
...
'aliases' => [
'@diecoding/rbac' => 'path/to/your/extracted',
// for example
// '@diecoding/rbac' => '@app/extensions/diecoding/yii2-rbac-1.0.0',
...
],
...
];