vova07/yii2-start-users-module

The users module for Yii2-Start application.

Installs: 10 220

Dependents: 2

Suggesters: 0

Security: 0

Stars: 8

Watchers: 5

Forks: 9

Type:yii2-extension

0.2.7 2015-08-19 16:51 UTC

This package is not auto-updated.

Last update: 2024-11-09 16:01:09 UTC


README

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' => 'no-reply@yii2-start.domain', // 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