2017 © Pedro Peláez
 

library socialite

A collection of OAuth 2 packages that extracts from laravel/socialite.

image

overtrue/socialite

A collection of OAuth 2 packages that extracts from laravel/socialite.

  • Sunday, June 10, 2018
  • by overtrue
  • Repository
  • 27 Watchers
  • 608 Stars
  • 355,982 Installations
  • PHP
  • 32 Dependents
  • 0 Suggesters
  • 114 Forks
  • 8 Open issues
  • 38 Versions
  • 16 % Grown

The README.md

Socialite

Socialite 是一个 OAuth2 认证工具。 它的灵感来源于 laravel/socialite , 你可以很轻易的在任何 PHP 项目中使用它。英文文档, (*1)

GitHub release (latest SemVer) GitHub License Packagist Downloads, (*2)

Sponsor me, (*3)

该工具现已支持平台有:Facebook,Github,Google,Linkedin,Outlook,QQ,TAPD,支付宝,淘宝,百度,钉钉,微博,微信,抖音,飞书,Lark,豆瓣,企业微信,腾讯云,Line,Gitee,Coding。, (*4)

如果你喜欢我的项目并想支持我,点击这里 :heart:, (*5)

版本要求

PHP >= 8.0.2, (*6)

安装

composer require "overtrue/socialite" -vvv

使用指南

用户只需要创建相应配置变量,然后通过工具为各个平台创建认证应用,并轻松获取该平台的 access_token 和用户相关信息。工具实现逻辑详见参照各大平台 OAuth2 文档。, (*7)

工具使用大致分为以下几步:, (*8)

  1. 配置平台设置
  2. 创建对应平台应用
  3. 让用户跳转至平台认证
  4. 服务器收到平台回调 Code,使用 Code 换取平台处用户信息(包括 access_token)

为 Laravel 用户创建的更方便的整合的包: overtrue/laravel-socialite, (*9)

authorize.php: 让用户跳转至平台认证, (*10)

<?php

use Overtrue\Socialite\SocialiteManager;

$config = [
    'github' => [
        'client_id'     => 'your-app-id',
        'client_secret' => 'your-app-secret',
        'redirect'      => 'http://localhost/socialite/callback.php',
    ],
];

$socialite = new SocialiteManager($config);

$url = $socialite->create('github')->redirect();

return redirect($url);

callback.php:, (*11)

<?php

use Overtrue\Socialite\SocialiteManager;

$config = [
    'github' => [
        'client_id' => 'your-app-id',
        'client_secret' => 'your-app-secret',
        'redirect' => 'http://localhost/socialite/callback.php',
    ],
];

$socialite = new SocialiteManager($config);

$code = request()->query('code');

$user = $socialite->create('github')->userFromCode($code);

$user->getId();        // 1472352
$user->getNickname();  // "overtrue"
$user->getUsername();  // "overtrue"
$user->getName();      // "安正超"
$user->getEmail();     // "anzhengchao@gmail.com"
...

配置

为每个平台设置相同的键值对后就能开箱即用:client_id, client_secret, redirect., (*12)

示例:, (*13)

$config = [
  'weibo' => [
    'client_id'     => 'your-app-id',
    'client_secret' => 'your-app-secret',
    'redirect'      => 'http://localhost/socialite/callback.php',
  ],
  'facebook' => [
    'client_id'     => 'your-app-id',
    'client_secret' => 'your-app-secret',
    'redirect'      => 'http://localhost/socialite/callback.php',
  ],
];

自定义应用名

你可以使用任意你喜欢的名字对每个平台进行命名,比如说 foo, 采用别名的方法后需要在配置中多设置一个 provider 键,这样才能告诉工具包如何正确找到你想要的程序:, (*14)

$config = [
  // 为 github 应用起别名为 foo
    'foo' => [
        'provider'    => 'github',  // <-- provider name
        'client_id'   => 'your-app-id',
        'client_secret' => 'your-app-secret',
        'redirect'    => 'http://localhost/socialite/callback.php',
    ],

    // 另外一个名字叫做 bar 的 github 应用
    'bar' => [
        'provider'    => 'github',  // <-- provider name
        'client_id'   => 'your-app-id',
        'client_secret' => 'your-app-secret',
        'redirect'    => 'http://localhost/socialite/callback.php',
    ],

    //...
];

$socialite = new SocialiteManager($config);

$appFoo = $socialite->create('foo');
$appBar = $socialite->create('bar');

扩展自定义服务提供程序

你可以很容易的从自定义的服务提供中创建应用,只需要遵循如下两点:, (*15)

  1. 使用自定义创建器, (*16)

    如下代码所示,为 foo 应用定义了服务提供名,但是工具本身还未支持,所以使用创建器 extend(),以闭包函数的形式为该服务提供创建一个实例。, (*17)

$config = [
    'foo' => [
        'provider' => 'myprovider',  // <-- 一个工具还未支持的服务提供程序
        'client_id' => 'your-app-id',
        'client_secret' => 'your-app-secret',
        'redirect' => 'http://localhost/socialite/callback.php',
    ],
];

$socialite = new SocialiteManager($config);

$socialite->extend('myprovider', function(array $config) {
    return new MyCustomProvider($config);
});

$app = $socialite->create('foo');
  1. 使用服务提供类

[!IMPORTANT], (*18)

👋🏻 你的自定义服务提供类必须实现 Overtrue\Socialite\Contracts\ProviderInterface 接口, (*19)

class MyCustomProvider implements \Overtrue\Socialite\Contracts\ProviderInterface
{
    //...
}

接下来为 provider 设置该类名让工具可以找到该类并实例化:, (*20)

$config = [
    'foo' => [
        'provider'    => MyCustomProvider::class,  // <-- 类名
        'client_id'   => 'your-app-id',
        'client_secret' => 'your-app-secret',
        'redirect'    => 'http://localhost/socialite/callback.php',
    ],
];

$socialite = new SocialiteManager($config);
$app = $socialite->create('foo');

平台

不同的平台有不同的配置方法,为了确保工具的正常运行,所以请确保你所使用的平台的配置都是如期设置的。, (*21)

支付宝

请按如下方式配置, (*22)

$config = [
  'alipay' => [
    // 这个键名还能像官方文档那样叫做 'app_id'
    'client_id' => 'your-app-id',

    // 请根据官方文档,在官方管理后台配置 RSA2
    // 注意: 这是你自己的私钥
    // 注意: 不允许私钥内容有其他字符
    // 建议: 为了保证安全,你可以将文本信息从磁盘文件中读取,而不是在这里明文
    'rsa_private_key' => 'your-rsa-private-key',

    // 确保这里的值与你在服务后台绑定的地址值一致
    // 这个键名还能像官方文档那样叫做 'redirect_url'
    'redirect' => 'http://localhost/socialite/callback.php',

    // 沙箱模式接入地址见 https://opendocs.alipay.com/open/220/105337#%E5%85%B3%E4%BA%8E%E6%B2%99%E7%AE%B1
    'sandbox' => false,
  ]
  ...
];

$socialite = new SocialiteManager($config);

$user = $socialite->create('alipay')->userFromCode('here is auth code');

// 详见文档后面 "User interface"
$user->getId();        // 1472352
$user->getNickname();  // "overtrue"
$user->getUsername();  // "overtrue"
$user->getName();      // "安正超"
...

本工具暂时只支持 RSA2 个人私钥认证方式。, (*23)

钉钉

如文档所示, (*24)

注意:该工具仅支持 QR code 连接到第三方网站,用来获取用户信息(opeid, unionid 和 nickname), (*25)

$config = [
  'dingtalk' => [
      // or 'app_id'
      'client_id' => 'your app id',

      // or 'app_secret'
      'client_secret' => 'your app secret',

      // or 'redirect_url'
      'redirect' => 'redirect URL'
  ]
];

$socialite = new SocialiteManager($config);

$user = $socialite->create('dingtalk')->userFromCode('here is auth code');

// 详见文档后面 "User interface"
$user->getId();        // 1472352
$user->getNickname();  // "overtrue"
$user->getUsername();  // "overtrue"
$user->getName();      // "安正超"
...

抖音

注意: 使用抖音服务提供的时候,如果你想直接使用 access_token 获取用户信息时,请先设置 openid。 先调用 withOpenId() 再调用 userFromToken(), (*26)

$config = [
  'douyin' => [
      'client_id' => 'your app id',

      'client_secret' => 'your app secret',

      'redirect' => 'redirect URL'
  ]
];

$socialite = new SocialiteManager($config);

$user = $socialite->create('douyin')->userFromCode('here is auth code');

$user = $socialite->create('douyin')->withOpenId('openId')->userFromToken('here is the access token');

头条

注意: 使用头条服务提供的时候,如果你想直接使用 access_token 获取用户信息时,请先设置 openid。 先调用 withOpenId() 再调用 userFromToken(), (*27)

$config = [
  'toutiao' => [
    'client_id' => 'your app id',
    'client_secret' => 'your app secret',
    'redirect' => 'redirect URL'
  ]
];

$socialite = new SocialiteManager($config);

$user = $socialite->create('toutiao')->userFromCode('here is auth code');
$user = $socialite->create('toutiao')->withOpenId('openId')->userFromToken('here is the access token');

西瓜

注意: 使用西瓜服务提供的时候,如果你想直接使用 access_token 获取用户信息时,请先设置 openid。 先调用 withOpenId() 再调用 userFromToken(), (*28)

$config = [
  'xigua' => [
    'client_id' => 'your app id',
    'client_secret' => 'your app secret',
    'redirect' => 'redirect URL'
  ]
];

$socialite = new SocialiteManager($config);

$user = $socialite->create('xigua')->userFromCode('here is auth code');
$user = $socialite->create('xigua')->withOpenId('openId')->userFromToken('here is the access token');

百度

其他配置没啥区别,在用法上,可以很轻易的选择重定向登录页面的模式,通过 withDisplay(), (*29)

  • page:全屏形式的授权页面 (默认),适用于 web 应用。
  • popup: 弹框形式的授权页面,适用于桌面软件应用和 web 应用。
  • dialog: 浮层形式的授权页面,只能用于站内 web 应用。
  • mobile: Iphone/Android 等智能移动终端上用的授权页面,适用于 Iphone/Android 等智能移动终端上的应用。
  • tv: 电视等超大显示屏使用的授权页面。
  • pad: IPad/Android 等智能平板电脑使用的授权页面。
$authUrl = $socialite->create('baidu')->withDisplay('mobile')->redirect();

popup 模式是工具内默认的使用模式。basic 是默认使用的 scopes 值。, (*30)

飞书

通过一些简单的方法配置 app_ticket 就能使用内部应用模式, (*31)

$config = [
    'feishu' => [
        // or 'app_id'
        'client_id' => 'your app id',

        // or 'app_secret'
        'client_secret' => 'your app secret',

        // or 'redirect_url'
        'redirect' => 'redirect URL',

        // 如果你想使用使用内部应用的方式获取 app_access_token
        // 对这个键设置了 'internal' 值那么你已经开启了内部应用模式
        'app_mode' => 'internal'
    ]
];

$socialite = new SocialiteManager($config);

$feishuDriver = $socialite->create('feishu');

$feishuDriver->withInternalAppMode()->userFromCode('here is code');
$feishuDriver->withDefaultMode()->withAppTicket('app_ticket')->userFromCode('here is code');

Lark

通过一些简单的方法配置 app_ticket 就能使用内部应用模式, (*32)

$config = [
    'lark' => [
        // or 'app_id'
        'client_id' => 'your app id',

        // or 'app_secret'
        'client_secret' => 'your app secret',

        // or 'redirect_url'
        'redirect' => 'redirect URL',

        // 如果你想使用使用内部应用的方式获取 app_access_token
        // 对这个键设置了 'internal' 值那么你已经开启了内部应用模式
        'app_mode' => 'internal'
    ]
];

$socialite = new SocialiteManager($config);

$larkDriver = $socialite->create('lark');

$larkDriver->withInternalAppMode()->userFromCode('here is code');
$larkDriver->withDefaultMode()->withAppTicket('app_ticket')->userFromCode('here is code');

淘宝

其他配置与其他平台的一样,你能选择你想要展示的重定向页面类型通过使用 withView(), (*33)

$authUrl = $socialite->create('taobao')->withView('wap')->redirect();

web 模式是工具默认使用的展示方式, user_info 是默认使用的 scopes 范围值。, (*34)

微信

我们支持开放平台代表公众号进行第三方平台网页授权。, (*35)

你只需要像下面这样输入你的配置。官方账号不需要授权。, (*36)

...
[
    'wechat' =>
        [
            'client_id'   => 'client_id',
            'client_secret' => 'client_secret',
            'redirect'    => 'redirect-url',

            // 开放平台 - 第三方平台所需
            'component' => [
                // or 'app_id', 'component_app_id' as key
                'id' => 'component-app-id',
                // or 'app_token', 'access_token', 'component_access_token' as key
                'token' => 'component-access-token',
            ]
        ]
],
...

Coding

您需要额外配置 team_url 为您的团队域名,例如:, (*37)

$config = [
    'coding' => [
        'team_url' => 'https://{your-team}.coding.net',
        'client_id' => 'your app id',
        'client_secret' => 'your app secret',
        'redirect' => 'redirect URL',
    ]
];

PayPal

您可能需要设置responseType,可以使用withResponseType函数进行设置,默认是code 还可以设置为id_tokencode & id_token, (*38)

https://developer.paypal.com/docs/log-in-with-paypal/integrate/generate-button/, (*39)

$config = [
    'paypal' => [
        'client_id'     => 'AT******************',
        'client_secret' => 'EK**************',
        'sandbox'      => false,
        'redirect_url'=>"nativexo://paypalpay",
    ],
];

其他一些技巧

Scopes

在重定向用户之前,您还可以使用 scopes() 方法在请求上设置 “范围”。此方法将覆盖所有现有的作用域:, (*40)

$response = $socialite->create('github')
                ->scopes(['scope1', 'scope2'])->redirect();

Redirect URL

你也可以动态设置' redirect_uri ',你可以使用以下方法来改变 redirect_uri URL:, (*41)

$url = 'your callback url.';

$socialite->redirect($url);
// or
$socialite->withRedirectUrl($url)->redirect();

State

你的应用程序可以使用一个状态参数来确保响应属于同一个用户发起的请求,从而防止跨站请求伪造 (CSFR) 攻击。当恶意攻击者欺骗用户执行不需要的操作 (只有用户有权在受信任的 web 应用程序上执行) 时,就会发生 CSFR 攻击,所有操作都将在不涉及或警告用户的情况下完成。, (*42)

这里有一个最简单的例子,说明了如何提供状态可以让你的应用程序更安全。在本例中,我们使用会话 ID 作为状态参数,但是您可以使用您想要为状态创建值的任何逻辑。, (*43)

带着 state 参数的重定向

<?php
session_start();

$config = [
    //...
];

// Assign to state the hashing of the session ID
$state = hash('sha256', session_id());

$socialite = new SocialiteManager($config);

$url = $socialite->create('github')->withState($state)->redirect();

return redirect($url);

检验回调的 state

一旦用户授权你的应用程序,用户将被重定向回你的应用程序的 redirect_uri。OAuth 服务器将不加修改地返回状态参数。检查 redirect_uri 中提供的状态是否与应用程序生成的状态相匹配:, (*44)

<?php
session_start();

$state = request()->query('state');
$code = request()->query('code');

// Check the state received with current session id
if ($state != hash('sha256', session_id())) {
    exit('State does not match!');
}
$user = $socialite->create('github')->userFromCode($code);

// authorized

查看更多关于 state 参数的文档, (*45)

其他的一些参数

要在请求中包含任何可选参数,调用 with() 方法传入一个你想要设置的关联数组:, (*46)

$response = $socialite->create('google')
                    ->with(['hd' => 'example.com'])->redirect();

User interface

标准的 user api

$user = $socialite->create('github')->userFromCode($code);
{
  "id": 1472352,
  "nickname": "overtrue",
  "name": "安正超",
  "email": "anzhengchao@gmail.com",
  "avatar": "https://avatars.githubusercontent.com/u/1472352?v=3",
  "raw": {
    "login": "overtrue",
    "id": 1472352,
    "avatar_url": "https://avatars.githubusercontent.com/u/1472352?v=3",
    "gravatar_id": "",
    "url": "https://api.github.com/users/overtrue",
    "html_url": "https://github.com/overtrue",
    ...
  },
  "token_response": {
    "access_token": "5b1dc56d64fffbd052359f032716cc4e0a1cb9a0",
    "token_type": "bearer",
    "scope": "user:email"
  }
}

你可以像这样以数组键的形式获取 user 属性:, (*47)

$user['id'];        // 1472352
$user['nickname'];  // "overtrue"
$user['name'];      // "安正超"
$user['email'];     // "anzhengchao@gmail.com"
...

或者使用该 User 对象的方法:, (*48)

mixed   $user->getId();
?string $user->getNickname();
?string $user->getName();
?string $user->getEmail();
?string $user->getAvatar();
?string $user->getRaw();
?string $user->getAccessToken();
?string $user->getRefreshToken();
?int    $user->getExpiresIn();
?array  $user->getTokenResponse();


从 OAuth API 响应中取得原始数据

$user->getRaw() 方法会返回一个 array。, (*49)

当你使用 userFromCode() 想要获取 token 响应的原始数据

$user->getTokenResponse() 方法会返回一个 array 里面是响应从获取 token 时候 API 返回的响应。, (*50)

注意:当你使用 userFromCode() 时,这个方法只返回一个 有效的数组,否则将返回 null,因为 userFromToken() 没有 token 的 HTTP 响应。, (*51)

通过 access token 获取用户信息

$accessToken = 'xxxxxxxxxxx';
$user = $socialite->userFromToken($accessToken);

Enjoy it! :heart:

参照

PHP 扩展包开发

想知道如何从零开始构建 PHP 扩展包?, (*52)

请关注我的实战课程,我会在此课程中分享一些扩展开发经验 —— 《PHP 扩展包实战教程 - 从入门到发布》, (*53)

License

MIT, (*54)

The Versions

10/06 2018

dev-master

9999999-dev

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

28/03 2018

2.0.3

2.0.3.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

17/02 2018

2.0.2

2.0.2.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

17/12 2017

2.0.1

2.0.1.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

11/12 2017

2.0.0

2.0.0.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

04/08 2017

1.3.0

1.3.0.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

27/07 2017

1.2.0

1.2.0.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

03/07 2017

1.1.1

1.1.1.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

03/07 2017

1.1.0

1.1.0.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

03/07 2017

1.0.27

1.0.27.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

29/06 2017

1.0.26

1.0.26.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

16/05 2017

1.0.25

1.0.25.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

08/04 2017

1.0.24

1.0.24.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

04/03 2017

1.0.23

1.0.23.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

13/02 2017

1.0.22

1.0.22.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

19/01 2017

1.0.21

1.0.21.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

01/12 2016

1.0.20

1.0.20.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

28/11 2016

1.0.19

1.0.19.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

12/10 2016

1.0.18

1.0.18.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

09/10 2016

1.0.17

1.0.17.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

09/10 2016

1.0.16

1.0.16.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

03/09 2016

1.0.15

1.0.15.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

02/09 2016

1.0.14

1.0.14.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

07/07 2016

1.0.13

1.0.13.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

07/07 2016

dev-develop

dev-develop

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

28/06 2016

1.0.12

1.0.12.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

02/06 2016

1.0.11

1.0.11.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

27/03 2016

1.0.10

1.0.10.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

11/03 2016

1.0.9

1.0.9.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

11/03 2016

1.0.8

1.0.8.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

22/02 2016

1.0.7

1.0.7.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

15/01 2016

1.0.6

1.0.6.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

15/01 2016

1.0.5

1.0.5.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

13/01 2016

1.0.4

1.0.4.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

11/01 2016

1.0.3

1.0.3.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

07/01 2016

1.0.2

1.0.2.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

26/12 2015

1.0.1

1.0.1.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo

10/12 2015

1.0.0

1.0.0.0

A collection of OAuth 2 packages that extracts from laravel/socialite.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

social oauth login qq wechat weibo