mapado/oauth-server-bundle
Mapado OAuthServerBundle integrates an OAuth2 authorization server into Symfony applications, providing endpoints, storage entities, grant handlers, and security integration for issuing, refreshing, and validating access tokens.
bshaffer/oauth2-server-php lineage. It will not drop into a Laravel app; there is no adapter layer, and the protocol core ships coupled to Symfony's container, routing, and security firewall. For Laravel the decision is Laravel Passport (full OAuth2 server) or Sanctum (first-party SPA/mobile tokens) — both first-party, maintained, and free.Consider it only if all of the following hold:
FOSOAuthServerBundle semantics (routes, Client/AccessToken entities, firewall integration).Look elsewhere if any of these are true:
league/oauth2-server with trikoder/oauth2-server-bundle on Symfony, or Symfony's native OAuth2 support in recent Security releases. The bshaffer line is effectively end-of-life.Treat the 0-star / 0-dependent signal as a supply-chain risk indicator, not a quality verdict: no one outside the originating org has reviewed or exercised this code, and composer audit will not protect you.
One-liner: This is a maintenance fork of a retired Symfony OAuth2 server bundle — a time-boxed bridge, not a platform decision, and out of scope for a Laravel product.
For executives: We are not adopting a new identity provider. We are deciding whether to keep patching an aging in-house auth component or fund a move to a supported one. The fork carries real ownership cost — security patching, upgrade work, an unmaintained dependency in our audit trail — with no vendor or community behind it. My recommendation: approve only as a time-boxed bridge with a funded exit plan, or skip it and move to Keycloak / League OAuth2 now. Auth is a one-way door; a token-issuance bug is a breach, not a bug.
For engineering: Assume you own this code outright. If the fork clears a specific PHP or Symfony upgrade blocker, vendor it, document the diff against upstream, pin the commit, and open a removal ticket. Do not extend it — every feature built on the bshaffer lineage raises the cost of the eventual migration. If the product is Laravel, this is out of scope: use Passport for OAuth2 server needs, Sanctum for first-party tokens, and put the sprint you would have spent proving the Symfony bundle doesn't fit into shipping the Passport integration instead.
Success criteria if adopted: a named internal owner, a documented patch set with a diff audit, a quarterly review against upstream, and a dated migration ticket. Absent those four, the correct decision is no.
How can I help you explore Laravel packages today?