We are going to deploy the new yiiframework.com website on March 23, 2018 from 8:00 to 12:00 UTC.
Website and Yii documentation will not be available in this time frame. Check the news for more details.

Yii 2.0: yii2-user

Just another yii2 user implementation with advanced features(optional).

Yii2 User module

Just another user module and component. I've adopted some of the features of other user modules and added more advanced features.

  • Optional self registration via front end
  • Lost password retrieval(optional)
  • User administration interface
  • Flexible access control
  • Console commnads
  • Advanced user (optional)


The preferred way to install this extension is through composer.

Either run

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

or add in composer.json

"nkostadinov/yii2-user": "*"


Add following lines to your main configuration file:

'components' => [
    'user' => [
        'class' => 'nkostadinov\user\components\User',
//if you want to use the UI part of the extension
'modules' => [
    'user' => [
        'class' => 'nkostadinov\user\Module',


For more detailed explanation and additional examples

Be the first person to leave a comment

Please to leave your comment.

Create extension
No downloadable files yet