yuncms / yii2-user
Flexible user registration and authentication module for Yii
Installs: 872
Dependents: 3
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 0
Type:yii2-extension
Requires
- xutl/yii2-authclient: ~1.0
- xutl/yii2-cropper-asset: ~1.0
- xutl/yii2-fontawesome-asset: ~2.0
- yiisoft/yii2: ~2.0.6
- yiisoft/yii2-bootstrap: ~2.0
- yiisoft/yii2-imagine: ~2.1
- yiisoft/yii2-jui: ~2.0
- yiisoft/yii2-queue: ~2.0
- yiisoft/yii2-swiftmailer: ~2.0
- yuncms/yii2-oauth2: ~2.0
- yuncms/yii2-system: ~2.0
- yuncms/yii2-tag: ~2.0
Requires (Dev)
- codeception/specify: ^0.4.6
- codeception/verify: ^0.4.0
- yiisoft/yii2-codeception: ^2.0.0
Suggests
- yuncms/yii2-message: Allows you to use message
- yuncms/yii2-tag: Allows you to use tag
- yuncms/yii2-vote: Allows you to use vote
- yuncms/yii2-wallet: Allows you to use message
README
Most of web applications provide a way for users to register, log in or reset their forgotten passwords. Rather than re-implementing this on each application, you can use Yii2-user which is a flexible user management module for Yii2 that handles common tasks such as registration, authentication and password retrieval. The latest version includes following features:
- 注册使用邮箱激活账号
- 使用社交账户注册
- 密码找回
- 账号和个人资料管理
- 控制台命令
- 用户管理接口
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist yuncms/yii2-user
or add
"yuncms/yii2-user": "~2.0.0"
to the require
section of your composer.json.
Configuring your application
Add following lines to your main configuration file:
'modules' => [
'user' => [
'class' => 'yuncms\user\frontend\Module',
],
],
Updating database schema
After you downloaded and configured Yii2-user, the last thing you need to do is updating your database schema by applying the migrations:
$ php yii migrate/up --migrationPath=@vendor/yuncms/yii2-user/migrations
Thanks to
License
This is released under the MIT License. See the bundled LICENSE.md for details.