PHPackages                             lialosiu/socialite-china - 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. lialosiu/socialite-china

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

lialosiu/socialite-china
========================

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries for china.

v1.2.0(10y ago)129MITPHP

Since May 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/lialosiu/socialite-china)[ Packagist](https://packagist.org/packages/lialosiu/socialite-china)[ RSS](/packages/lialosiu-socialite-china/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

lialosiu/socialite-china
========================

[](#lialosiusocialite-china)

Introduction
------------

[](#introduction)

Laravel Socialite OAuth authentication for China.

Usage
-----

[](#usage)

```
composer require "lialosiu/socialite-china:~1.2"
```

Add provider `Lialosiu\SocialiteChina\SocialiteChinaServiceProvider::class` in your `config/app.php`

Add aliases `'SocializeChina' => Lialosiu\SocialiteChina\Facades\Socialite::class,` in your `config/app.php`

Add config in `config/services.php` :

```
'weibo'    => [
    'client_id'     => env('WEIBO_APP_KEY', ''),
    'client_secret' => env('WEIBO_APP_SECRET', ''),
    'redirect'      => env('WEIBO_CALLBACK_URL', ''),
],

'qq'       => [
    'client_id'     => env('QQ_APP_KEY', ''),
    'client_secret' => env('QQ_APP_SECRET', ''),
    'redirect'      => env('QQ_CALLBACK_URL', ''),
],

'weixin'       => [
    'client_id'     => env('WEIXIN_APP_KEY', ''),
    'client_secret' => env('WEIXIN_APP_SECRET', ''),
    'redirect'      => env('WEIXIN_CALLBACK_URL', ''),
],
```

Add env in `.env` :

```
WEIBO_APP_KEY=YourWeiboAppKey
WEIBO_APP_SECRET=YourWeiboAppSecret
WEIBO_CALLBACK_URL=YourWeiboCallBackUrl

QQ_APP_KEY=YourQqAppKey
QQ_APP_SECRET=YourQqAppKey
QQ_CALLBACK_URL=YourQqCallBackUrl

WEIXIN_APP_KEY=YourWeixinAppKey
WEIXIN_APP_SECRET=YourWeixinAppKey
WEIXIN_CALLBACK_URL=YourWeixinCallBackUrl
```

Documentation
-------------

[](#documentation)

You can pass the token manually like

```
SocializeChina::with('weibo')->user('UserWeiboToken')
```

Other same with the [laravel/socialite](http://laravel.com/docs/5.0/authentication#social-authentication)

Require
-------

[](#require)

[laravel/socialite](https://github.com/laravel/socialite)

License
-------

[](#license)

[MIT license](http://opensource.org/licenses/MIT)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Total

4

Last Release

3981d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbcffc164588f5937ef8f9f8141d928cdda4da9930f4aff55244068d51653b3d?d=identicon)[lialosiu](/maintainers/lialosiu)

---

Top Contributors

[![lialosiu](https://avatars.githubusercontent.com/u/1682158?v=4)](https://github.com/lialosiu "lialosiu (17 commits)")

---

Tags

laraveloauth

### Embed Badge

![Health badge](/badges/lialosiu-socialite-china/health.svg)

```
[![Health](https://phpackages.com/badges/lialosiu-socialite-china/health.svg)](https://phpackages.com/packages/lialosiu-socialite-china)
```

###  Alternatives

[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[seoda/socialite-apple

Apple OAuth2 Provider for Laravel Socialite

1128.1k](/packages/seoda-socialite-apple)[laravel-uis/socialite-ui

A Laravel Socialite UI for the new Laravel Starter Kits

114.3k1](/packages/laravel-uis-socialite-ui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
