atans / yii2-rbac
An RBAC extension for yii2
1.0.0
2017-01-08 08:01 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-14 03:10:42 UTC
README
An RBAC extension for yii2
Installation
Step 1
The preferred way to install this extension is through composer.
Either run
composer atans/yii2-rbac "*"
or add
"atans/yii2-rbac": "*"
to the require section of your composer.json file.
Step 3
Update database schema
$ php yii migrate/up --migrationPath=@yii/rbac/migrations
Usage
// config/main.php 'modules' => [ 'rbac' => 'atans\rbac\Module', ],