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

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

platformsh/oauth2
=================

Platform.sh OAuth2 client

0.0.3(4y ago)2231.0k—0%1[1 PRs](https://github.com/platformsh/platformsh-oauth2-php/pulls)1MITPHPPHP &gt;=5.6.0CI passing

Since Nov 13Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/platformsh/platformsh-oauth2-php)[ Packagist](https://packagist.org/packages/platformsh/oauth2)[ RSS](/packages/platformsh-oauth2/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (1)

platformsh/oauth2
=================

[](#platformshoauth2)

This is a PHP OAuth2 client library for Platform.sh, which provides a middleware for Guzzle that authenticates requests.

This library should probably not be used directly. Use the [platformsh/client](https://github.com/platformsh/platformsh-client-php) library or the [Platform.sh CLI](https://github.com/platformsh/platformsh-cli) instead.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance53

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~514 days

Recently: every ~369 days

Total

6

Last Release

539d ago

Major Versions

0.0.3 → 1.0.0-beta2024-11-25

PHP version history (2 changes)0.0.1PHP &gt;=5.6.0

1.0.0-betaPHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1465106?v=4)[Patrick Dawkins](/maintainers/pjcdawkins)[@pjcdawkins](https://github.com/pjcdawkins)

---

Top Contributors

[![pjcdawkins](https://avatars.githubusercontent.com/u/1465106?v=4)](https://github.com/pjcdawkins "pjcdawkins (40 commits)")

---

Tags

oauth2phpplatformsh

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

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

42121.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

84016.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

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

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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