PHPackages                             turbo124/laravel-socialite-api - 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. turbo124/laravel-socialite-api

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

turbo124/laravel-socialite-api
==============================

package for laravel 5.2 retrieve user datas serve for restful api authentication.

1.5(10y ago)015MITPHPPHP &gt;=5.5.0

Since Nov 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/turbo124/laravel-socialite-api)[ Packagist](https://packagist.org/packages/turbo124/laravel-socialite-api)[ RSS](/packages/turbo124-laravel-socialite-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

\##Laravel Socialite api This package is aim to retrive user data by access token when use OAuth2 Login, base on Laravel Socialite, useful for client side OAuth login

\##Install composer require ray-cheng/laravel-socialite-api

open config/app.php add

```
LaravelSocialiteApi\SocialiteApiServiceProvider::class

```

to 'providers' array

check installed
---------------

[](#check-installed)

php artisan list

\##commands

```
    laravel-socialite-api:clear  providerName
    laravel-socialite-api:make   providerName

```

this will create a new folder 'Services' under app(or your base namespace folder)

\*\* providerName must follow  principle \*\*

\##add event handler and listener to App\\Providers\\EventServiceProvider $listen property

```
    'SocialiteProviders\Manager\SocialiteWasCalled' => [
        'App\LaravelSocialiteApi\ExtendSocialite\Weibo@handle',
        'App\LaravelSocialiteApi\ExtendSocialite\Weixin@handle',
    ]

```

test
----

[](#test)

```
    $userInfo = Socialite::with('weibo')->stateless->user($accessToken);
    some oauth server like weixin need both $token and  $openid to get userinfos, so we need pass openid also.
    $userInfo = Socialite::with('weixin')->stateless->user($accessToken, $openId);

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% 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 ~10 days

Total

6

Last Release

3780d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5827962?v=4)[David Bomba](/maintainers/turbo124)[@turbo124](https://github.com/turbo124)

---

Top Contributors

[![akulubala](https://avatars.githubusercontent.com/u/1884768?v=4)](https://github.com/akulubala "akulubala (10 commits)")[![turbo124](https://avatars.githubusercontent.com/u/5827962?v=4)](https://github.com/turbo124 "turbo124 (3 commits)")

---

Tags

apilaravelAuthenticationoauth2restfulsocialete

### Embed Badge

![Health badge](/badges/turbo124-laravel-socialite-api/health.svg)

```
[![Health](https://phpackages.com/badges/turbo124-laravel-socialite-api/health.svg)](https://phpackages.com/packages/turbo124-laravel-socialite-api)
```

###  Alternatives

[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)

PHPackages © 2026

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