latik / yii-user
The users module for yii application.
dev-master
2015-01-13 14:58 UTC
Requires
- crisu83/yiistrap: dev-master
- yiisoft/yii: dev-master
This package is not auto-updated.
Last update: 2024-11-09 17:14:19 UTC
README
Yii 1.* for registration and management users accounts.
Features:
- Login from User Name or Email
- Registration
- Password recovery (send email)
- Manage Users
Installation
Download using composer
$ php composer.phar require latik/yii-user:dev-master
Configure app
Change your config main:
'aliases' => array( 'vendor' => realpath(__DIR__ . '/../../vendor') ), 'import' => array( #... 'vendor.latik.yii-user.models.*', 'vendor.latik.yii-user.components.*', ), 'modules'=>array( #... 'user' => array( 'class' => 'vendor.latik.yii-user.UserModule', ), ), 'components'=>array( #.... 'user' => array( 'class' => 'WebUser', 'allowAutoLogin' => false, 'loginUrl' => ['/user/login'], 'autoUpdateFlash' => false ),
Updating database schema
Run command:
yiic migrate --migrationPath=vendor.latik.yii-user.migrations