PHPackages                             her-cat/colourlife-oauth2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. her-cat/colourlife-oauth2

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

her-cat/colourlife-oauth2
=========================

基于 overtrue/socialite 的彩之云 OAuth 2.0 授权 SDK

1.0(6y ago)45MITPHP

Since Oct 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/her-cat/colourlife-oauth2)[ Packagist](https://packagist.org/packages/her-cat/colourlife-oauth2)[ RSS](/packages/her-cat-colourlife-oauth2/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

 Colourlife OAuth2
===================

[](#-colourlife-oauth2-)

 基于 [overtrue/socialite](https://github.com/overtrue/socialite) 的彩之云 OAuth 2.0 SDK

[![Build Status](https://camo.githubusercontent.com/8df2958212e4ebd52834c248fd78c1297b91ee5d8f04c3b2dd26f4d483afcf14/68747470733a2f2f7472617669732d63692e6f72672f6865722d6361742f636f6c6f75726c6966652d6f61757468322e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/her-cat/colourlife-oauth2)[![StyleCI build status](https://camo.githubusercontent.com/a41e911f43c516090f8b7ba88821d4c79d44cb733b872e114b4e02ba81204da3/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3231343334363637372f736869656c64)](https://github.styleci.io/repos/214346677)

环境要求
----

[](#环境要求)

```
PHP >= 7.0
```

安装
--

[](#安装)

```
$ composer require her-cat/colourlife-oauth2 -vvv
```

单元测试
----

[](#单元测试)

```
$ composer test
```

使用
--

[](#使用)

### 基本使用

[](#基本使用)

`authorize.php`:

```
