Download the PHP package boolw/renrensocialite without Composer
On this page you can find all versions of the php package boolw/renrensocialite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download boolw/renrensocialite
More information about boolw/renrensocialite
Files in boolw/renrensocialite
Download boolw/renrensocialite
More information about boolw/renrensocialite
Files in boolw/renrensocialite
Vendor boolw
Package renrensocialite
Short Description open.renren.com OAuth2 Provider for Laravel Socialite
License MIT
Package renrensocialite
Short Description open.renren.com OAuth2 Provider for Laravel Socialite
License MIT
Please rate this library. Is it a good library?
Informations about the package renrensocialite
renrensocialite
open.renren.com OAuth2 Provider for Laravel Socialite
人人网认证(Renren)
使用如下Composer命令安装依赖:
composer require boolw/renrensocialite
注册服务提供者(同时注释掉原有的Socialite提供者):
添加Socialite门面(如果已有略过本操作):
添加事件监听器(App/Providers/EventServiceProvider):
去新浪微博开放平台(https://openapi.baidu.com/)创建一个新的网站应用以获取相应的App Key和App Secret。需要注意的是不比GitHub,新浪微博需要创建的网站应用对应网站在外网可以访问。
然后在配置文件app/services.php中添加renren配置项:
接下来我们要对AuthController略作修改:
以支持多种不同认证提供者的切换。
最后需要修改认证路由规则如下:
至此就可以在浏览器中访问http://laravel.app:8000/auth/renren进行测试了。
All versions of renrensocialite with dependencies
PHP Build Version
Package Version
The package boolw/renrensocialite contains the following files
Loading the files please wait ....