/yii2-admin

Auth manager for Yii2 (RBAC Manager)

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

RBAC Manager for Yii 2

GUI manager for RABC (Role Base Access Control) Yii2. Easy to manage authorization of user 😄.

Latest Unstable Version Total Downloads Daily Downloads License Reference Status Build Status Dependency Status Scrutinizer Code Quality Code Climate

Documentation

Important: If you install version 3.x, please see this readme.

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',
        ...
    ]
];

More...

screenshots