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.
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist nkostadinov/yii2-user "*"
or add in composer.json
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