Users management module for Yii2

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0


1.0.0 2019-01-14 23:22 UTC


Progress Github all releases GitHub version Progress GitHub license

Yii2 Users Module

Users management module for Yii2


  • PHP 5.6 or higher
  • Yii2 v.2.0.13 and newest


To install the module, run the following command in the console:

$ composer require "wdmg/yii2-users:dev-master"

After configure db connection, run the following command in the console:

$ php yii users/init

And select the operation you want to perform:

  1. Apply all module migrations
  2. Revert all module migrations
  3. Batch insert demo data*

* - The demo database contains 6 demo user`s with:

ID Username Password Email Status
100 admin admin admin@example.com
101 demo demo demo@example.com
102 alice alice alice@example.com
103 bob bob bob@example.com
104 johndoe johndoe johndoe@example.com diactivated
105 janedoe janedoe janedoe@example.com diactivated


In any case, you can execute the migration and create the initial data, run the following command in the console:

$ php yii migrate --migrationPath=@vendor/wdmg/yii2-users/migrations


To add a module to the project, add the following data in your configuration file:

'modules' => [
    'tickets' => [
        'class' => 'wdmg\users\Module',
        'routePrefix' => 'admin'

and Bootstrap section:

$config['bootstrap'][] = 'wdmg\users\Bootstrap';


http://example.com/admin/users - Module dashboard

Status and version

  • v.1.0.0 - Module in progress development.