PHPackages                             samanthajayasinghe/oauth2-client - 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. samanthajayasinghe/oauth2-client

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

samanthajayasinghe/oauth2-client
================================

OAuth2 client supports for Google, Facebook and Linkedin

16PHP

Since Aug 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/samanthajayasinghe/OAuth2-Client)[ Packagist](https://packagist.org/packages/samanthajayasinghe/oauth2-client)[ RSS](/packages/samanthajayasinghe-oauth2-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#PHP OAuth2 Client lib

This Library support following OAuth2 client providers

1. Google
2. Facebook - (on dev )
3. Linkedin - (on dev )

Installation
------------

[](#installation)

Adds the library in your `composer.json` file:

```
"require": {
    "samanthajayasinghe/oauth2-client": "dev"
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/235cc54f162285262fe2add5df685a688dcf7c29a8132aa91f83e970d1472cab?d=identicon)[samanthajayasinghe](/maintainers/samanthajayasinghe)

---

Top Contributors

[![samanthajayasinghe](https://avatars.githubusercontent.com/u/215483?v=4)](https://github.com/samanthajayasinghe "samanthajayasinghe (15 commits)")

### Embed Badge

![Health badge](/badges/samanthajayasinghe-oauth2-client/health.svg)

```
[![Health](https://phpackages.com/badges/samanthajayasinghe-oauth2-client/health.svg)](https://phpackages.com/packages/samanthajayasinghe-oauth2-client)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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