2017 © Pedro Peláez
 

flarum-extension flarum-ext-auth-qq

Allow users to log in with QQ.

image

lazyboywu/flarum-ext-auth-qq

Allow users to log in with QQ.

  • Tuesday, February 2, 2016
  • by lazyboy.wu
  • Repository
  • 1 Watchers
  • 10 Stars
  • 146 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

flarum-ext-auth-qq

flarum 的 QQ Oauth 2.0 认证插件, (*1)

安装

修改 flarum 根目录的 composer.json 中的 require,增加依赖, (*2)

"lazyboywu/flarum-ext-auth-qq": "^0.1.0"

flarum 根目录通过 composer 进行插件安装, (*3)

$ composer update lazyboywu/oauth2-qq
$ composer update lazyboywu/flarum-ext-auth-qq

如果觉得的 packagist 太慢,可以使用 github 和国内的镜像 phpcomposer 直接下载,composer.json 增加 ```json "repositories": [ { "type": "vcs", "url": "https://github.com/lazyboywu/flarum-ext-auth-qq" }, { "type": "vcs", "url": "https://github.com/lazyboywu/oauth2-qq" }, { "type": "composer", "url": "http://packagist.phpcomposer.com" }, { "packagist": false } ], (*4)


后台启用插件,设置appid和appkey 因为需要记录 QQ 的 OpenId,修改数据库的 user 表, 在 flarum 根目录中执行

$ ./flarum migrate ```, (*5)

The Versions

02/02 2016

dev-master

9999999-dev

Allow users to log in with QQ.

  Sources   Download

MIT

The Requires

 

by lazyboywu

authentication qq

02/02 2016

v0.1.1

0.1.1.0

Allow users to log in with QQ.

  Sources   Download

MIT

The Requires

 

by lazyboywu

authentication qq

01/02 2016

v0.1.0

0.1.0.0

Allow users to log in with QQ.

  Sources   Download

MIT

The Requires

 

by lazyboywu

authentication qq