atans / yii2-rbac
An RBAC extension for yii2
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-12-14 00:28:47 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', ],