bshaffer/oauth2-server-php
A library for implementing an OAuth2 Server in php observed · 2026-08-28
Health v2 · maintenance only
29/100
- Activity 13
- Release rhythm 8
- 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: n/a
- age_days: 5095
- days_rel: 523
- days_push: 523
- n_releases_24m: 1
Adoption not part of the score
3270 stars · 944 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PHP library for implementing an OAuth 2.0 authorization/token server into PHP applications. It supports pluggable storage (e.g., PDO) and multiple grant types such as authorization code.
Use cases
- implement an oauth2 server in php
- issue oauth2 access tokens from my api
- add authorization code grant to a php app
- protect my php api with oauth2 bearer tokens
- build a token endpoint with pdo storage
- support refresh token grants in php
When to choose
- you need a self-hosted OAuth 2.0 server in a PHP application
- you want flexible grant types and pluggable storage backends
- you need a mature, MIT-licensed OAuth2 implementation without a full framework
When to avoid
- you only need an OAuth2 client to consume third-party APIs
- your stack is not PHP
- you want a modern framework-integrated auth solution with active feature development
Facets
library · maturity maintenance
auth http-server middleware security web-development apis backend php oauth2 oauth2-server authorization-server token-endpoint grant-types
2 sources
- readme: https://github.com/bshaffer/oauth2-server-php · fetched 2026-08-28 · 2400f0c4cd08
- homepage: http://bshaffer.github.io/oauth2-server-php-docs · fetched 2026-08-29 · 93a16c9ebd91
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bshaffer/oauth2-server-php | main | 29 |
For agents
markdown · JSON · MCP: product_card(name="bshaffer/oauth2-server-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem