zc / yii2-admin
RBAC Auth manager for Yii2
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 576
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.4
Suggests
- yiisoft/yii2-bootstrap: Used when using layout 'left-menu', 'right-menu' or 'top-menu'
This package is not auto-updated.
Last update: 2024-10-26 18:06:44 UTC
README
GUI manager for RABC (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', ... ] ];