thephpleague/oauth2-client
Easy integration with OAuth 2.0 service providers. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 34
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 174.0
- age_days: 4964
- days_rel: 281
- days_push: 23
- n_releases_24m: 3
Adoption not part of the score
3817 stars · 769 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PHP library providing a base client for integrating with OAuth 2.0 service providers per RFC 6749. It includes a GenericProvider for Bearer-token providers and supports extension via official and third-party provider packages.
Use cases
- add 'Sign in with Google' to a PHP web app
- implement OAuth 2.0 login flow with Facebook or GitHub
- connect to any OAuth 2.0 provider using bearer tokens
- build a custom provider client for a proprietary API
- add single sign-on to a PHP application
When to choose
- you need OAuth 2.0 client functionality in a PHP project
- your provider conforms to the OAuth 2.0 Authorization Framework
- you want a well-maintained, PSR-compliant base with an ecosystem of provider packages
When to avoid
- you need OAuth 1.0a support
- a dedicated provider client package already covers your provider without needing the base
- you need a full identity/SSO server rather than a client
Facets
library · maturity stable
auth http-client sdk security web-development apis php oauth2 sso authentication composer psr-compliant
2 sources
- readme: https://github.com/thephpleague/oauth2-client · fetched 2026-08-28 · 444f71a6dd91
- homepage: http://oauth2-client.thephpleague.com · fetched 2026-08-29 · 43e6b56b80fd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thephpleague/oauth2-client | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="thephpleague/oauth2-client")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem