atans / yii2-rbac
An RBAC extension for yii2
1.0.0
2017-01-08 08:01 UTC
Requires
- yiisoft/yii2: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-14 04:19:59 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', ],