Yii2 users and rbac module

Installs: 751

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 7

Forks: 2

Open Issues: 0


dev-master 2017-04-12 11:25 UTC

This package is auto-updated.

Last update: 2023-05-11 11:53:49 UTC


Users and RBAC module for Yii2

Extension provides basic set of Users, Roles and Permissions


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist devgroup/yii2-users-module "*"

or add

"devgroup/yii2-users-module": "*"

After it you should execute migrations:

/usr/bin/php yii migrate --migrationPath=@DevGroup/Users/migrations

After performing the previous steps admin super user will be available in the system with following credentials:

  • login : admin
  • password: admin (password is temporary)

Base Routes

Backend RBAC Management

  • list: /users/rbac-manage
  • edit: /users/rbac-manage/edit?params
  • delete: /users/rbac-manage/delete?params

Backend Users Management

  • list: /users/users-manage
  • edit: /users/users-manage/edit?params
  • delete: /users/users-manage/delete?params

Inspiration sources