2017 © Pedro Peláez
 

yii-extension yii-user

User management module

image

edmundspriede/yii-user

User management module

  • Wednesday, September 28, 2016
  • by uldisn
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 586 Forks
  • 0 Open issues
  • 20 Versions
  • 0 % Grown

The README.md

Yii-User Installation

Download

Download or checkout (SVN/Git) from http://yii-user.2mx.org and unpack files in your protected/modules/user, (*1)

Git clone

clone git git@github.com:mishamx/yii-user.git

Configure

Change your config main:, (*2)

return array(
    #...
    // autoloading model and component classes
    'import'=>array(
        'application.models.*',
        'application.components.*',
        'application.modules.user.models.*',
        'application.modules.user.components.*',
    ),

    #...
    'modules'=>array(
        #...
        'user'=>array(
            # encrypting method (php hash function)
            'hash' => 'md5',

            # send activation email
            'sendActivationMail' => true,

            # allow access for non-activated users
            'loginNotActiv' => false,

            # activate user on registration (only sendActivationMail = false)
            'activeAfterRegister' => false,

            # automatically login from registration
            'autoLogin' => true,

            # guests allow register
            'allowGuestRegister' => true,

            # show user list
            'showUserList' => true,

            # alow to user edit self profile
            'allowUserEditProfile' => true,

            # registration path
            'registrationUrl' => array('/user/registration'),

            # recovery password path
            'recoveryUrl' => array('/user/recovery'),

            # login form path
            'loginUrl' => array('/user/login'),

            # page after login
            'returnUrl' => array('/user/profile'),

            # page after logout
            'returnLogoutUrl' => array('/user/login'),
        ),
        #...
    ),

    #...
    // application components
    'components'=>array(
    #...
        'db'=>array(
        #...
            'tablePrefix' => 'tbl_',
        #...
        ),
        #...
        'user'=>array(
            // enable cookie-based authentication
            'class' => 'WebUser',
        ),
    #...
    ),
    #...
);

Change your config console:, (*3)

return array(
    #...
    'modules'=>array(
        #...
        'user'=>array(
            # encrypting method (php hash function)
            'hash' => 'md5',

            # send activation email
            'sendActivationMail' => true,

            # allow access for non-activated users
            'loginNotActiv' => false,

            # activate user on registration (only sendActivationMail = false)
            'activeAfterRegister' => false,

            # automatically login from registration
            'autoLogin' => true,

            # registration path
            'registrationUrl' => array('/user/registration'),

            # recovery password path
            'recoveryUrl' => array('/user/recovery'),

            # login form path
            'loginUrl' => array('/user/login'),

            # page after login
            'returnUrl' => array('/user/profile'),

            # page after logout
            'returnLogoutUrl' => array('/user/login'),
        ),
        #...
    ),
    #...
);

Install

Run command: yiic migrate --migrationPath=user.migrations, (*4)

Input admin login, email and password, (*5)

The Versions

28/09 2016

dev-master

9999999-dev

User management module

  Sources   Download

BSD-2-Clause

The Requires

 

user yii phundament

25/02 2015

dev-develop

dev-develop

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

09/02 2015

v0.9.3

0.9.3.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

14/01 2015

v0.9.2

0.9.2.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

01/01 2015

v0.9.1

0.9.1.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

30/12 2014

v0.9.0

0.9.0.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

14/12 2014

v0.8.2

0.8.2.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

13/10 2014

v0.8.1

0.8.1.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

05/10 2014

v0.8.0

0.8.0.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

31/08 2014

v0.7.0

0.7.0.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

04/05 2014

v0.6.0

0.6.0.0

Flexible user registration and authentication module for Yii2

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 user management yii2-user dektrium

22/03 2014

v0.5.1

0.5.1.0

The user management module for Yii 2

  Sources   Download

MIT

The Requires

 

user yii dektrium

20/03 2014

v0.5.0

0.5.0.0

The user management module for Yii 2

  Sources   Download

MIT

The Requires

 

user yii dektrium

06/02 2014

v0.4.0

0.4.0.0

The user management module for Yii 2

  Sources   Download

MIT

The Requires

 

user yii dektrium

16/01 2014

v0.3.0

0.3.0.0

The user management module for Yii 2

  Sources   Download

MIT

The Requires

 

user yii dektrium

12/12 2013

v0.2.0

0.2.0.0

The user management module for Yii 2

  Sources   Download

MIT

The Requires

 

user yii dektrium

29/11 2013

v0.1.0

0.1.0.0

The user management module for Yii 2

  Sources   Download

MIT

The Requires

 

user yii dektrium