PHPackages                             rmrevin/yii2-rbac-command - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. rmrevin/yii2-rbac-command

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

rmrevin/yii2-rbac-command
=========================

Extension for RBAC rules update for Yii2

1.6.1(9y ago)720.8k↓87.3%1MITPHPPHP &gt;=5.4.0

Since Apr 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rmrevin/yii2-rbac-command)[ Packagist](https://packagist.org/packages/rmrevin/yii2-rbac-command)[ RSS](/packages/rmrevin-yii2-rbac-command/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (14)Used By (0)

Yii 2 RBAC update command
=========================

[](#yii-2-rbac-update-command)

This extension provides a console command to update the RBAC rules, roles and permissions for [Yii framework 2.0](http://www.yiiframework.com/) applications.

Installation
------------

[](#installation)

```
composer require "rmrevin/yii2-rbac-command:~1.6"
```

Configuration
-------------

[](#configuration)

Create new console command extends `\rmrevin\yii\rbac\Command` ([example](https://github.com/rmrevin/yii2-rbac-command/blob/master/examples/ProjectRbacCommand.php))

```
