2017 © Pedro Peláez
 

yii2-extension yii2-cms-user

User module for Yii2 CMS.

image

maddoger/yii2-cms-user

User module for Yii2 CMS.

  • Thursday, November 5, 2015
  • by maddoger
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Yii2 User module, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist maddoger/yii2-user "*"

or add, (*4)

"maddoger/yii2-user": "*"

to the require section of your composer.json file., (*5)

Migration

./yii migrate --migrationPath="@maddoger/user/common/migrations"

Configuration

...
'modules' => [
    ...
    'user' => [
        'class' => 'maddoger\user\backend\Module',
        'guestLayout' => '@maddoger/admin/views/layouts/minimal.php',
        //'sortNumber' => 11
    ],
    ...
],
...

Components

'components' => [
    'urlManager' => [
        'rules' => [
            //User
            '<action:(login|logout|request-password-reset|reset-password)>' => 'user/auth/<action>',
            'profile' => 'user/user/profile',
        ]
    ],
    'user' => [
        'identityClass' => 'maddoger\user\common\models\User',
        'loginUrl' => ['user/auth/login'],
        'enableAutoLogin' => true,
        //'on afterLogin'   => ['maddoger\user\common\models\User', 'updateLastVisit'],
        //'on afterLogout'   => ['maddoger\user\common\models\User', 'updateLastVisit'],
    ],
    'session' => [
        'class' => 'yii\web\DbSession',
        'sessionTable' => '{{%user_session}}',
    ],
...
]

The Versions

05/11 2015

dev-master

9999999-dev

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

05/11 2015

v1.0.8

1.0.8.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

05/11 2015

v1.0.7

1.0.7.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

05/11 2015

v1.0.6

1.0.6.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

26/10 2015

v1.0.5

1.0.5.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

21/10 2015

v1.0.4

1.0.4.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

19/10 2015

v1.0.3

1.0.3.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

16/10 2015

v1.0.2

1.0.2.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

14/10 2015

v1.0.1

1.0.1.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov

12/10 2015

v1.0.0

1.0.0.0

User module for Yii2 CMS.

  Sources   Download

The Requires

 

by Vitaliy Syrchikov