yeesoft/yii2-yee-auth
最新稳定版本:0.1.0
Composer 安装命令:
composer require yeesoft/yii2-yee-auth
包简介
Authorization Module For Yee CMS
README 文档
README
##Yee CMS - Auth Module
####Frontend authorization module
This module is part of Yee CMS (based on Yii2 Framework).
This module implements user registration, authorization, social authorization, password recovery and so on.
Installation
Either run
composer require --prefer-dist yeesoft/yii2-yee-auth "~0.1.0"
or add
"yeesoft/yii2-yee-auth": "~0.1.0"
to the require section of your composer.json file.
Run migrations
yii migrate --migrationPath=@vendor/yeesoft/yii2-yee-auth/migrations/
Configuration
- In your frontend config file
'modules'=>[ 'auth' => [ 'class' => 'yeesoft\auth\AuthModule', ], ], 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'google' => [ 'class' => 'yii\authclient\clients\Google', 'clientId' => '*****', 'clientSecret' => '*****', ], 'facebook' => [ 'class' => 'yii\authclient\clients\Facebook', 'clientId' => '*****', 'clientSecret' => '*****', ], 'twitter' => [ 'class' => 'yii\authclient\clients\Twitter', 'consumerKey' => '*****', 'consumerSecret' => '*****', ], ], ], ],
Screenshots
统计信息
- 总下载量: 6.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-06-23