yuncms/yii2-user

This package is abandoned and no longer maintained. No replacement package was suggested.

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

2.0.3.3 2017-10-26 06:44 UTC

README

Latest Stable Version Total Downloads Reference Status Build Status Dependency Status License

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.