Yii2 RBAC ¶
RBAC / Auth Manager for Yii2 Extends
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.
- Authorization Guide. Important, read this first before you continue.
- Using Menu.
Install With Composer ¶
The preferred way to install this extension is through composer.
composer require diecoding/yii2-rbac "dev-master"
Or, you may add
to the require section of your
composer.json file and execute
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', ... ], ... ];