liaol/socialite-cn

Laravel wrapper around OAuth 1 & OAuth 2 libraries for Chinese Company.

1.0.9 2016-08-05 06:59 UTC

This package is not auto-updated.

Last update: 2024-04-27 15:25:54 UTC


README

laravel/socialite for Chinese.

Oauth authentication with Weixin,Weibo and QQ.

Usage

  • require in your composer.json file:
"liaol/socialite-cn": "dev-master"
  • register the 'Liaol\SocialiteCn\SocialiteCnServiceProvider' in your config/app.php

  • add 'Socialize' => 'Laravel\Socialite\Facades\Socialite' to config/app.php

  • Others are same with the laravel/socialite

Providers:

weixin
weixinWeb
weibo
qq

weiboApp, qqApp are used for Api

Require

laravel/socialite

License

MIT license