Skip to content

Latest commit

 

History

History
executable file
·
51 lines (36 loc) · 984 Bytes

README.md

File metadata and controls

executable file
·
51 lines (36 loc) · 984 Bytes

WARNING: This extension is not more maintained

Yii2-Start users module.

This module provide a users managing system for Yii2-Start application.

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"vova07/yii2-start-users-module": "*"

to the require section of your composer.json file.

Configuration

  • Add module to config section:
'modules' => [
    'users' => [
        'class' => 'vova07\blogs\Module',
        'robotEmail' => '[email protected]', // Sender email. This email is required. From this address module will send all emails
        'robotName' => 'Robot' // Sender name
    ]
]
  • Run migrations:
php yii migrate --migrationPath=@vova07/users/migrations
  • Run RBAC command:
php yii users/rbac/add