gregoryeple/oauth-server-bundle
gregoryeple/oauth-server-bundle is a PHP OAuth 2.0 server bundle that adds authorization and token endpoints, client registration, and grant handling to help secure APIs with standards-based authentication and delegated access. It provides server-side pieces for issuing access tokens and protecting...
gregoryeple/oauth-server-bundle is a fork of FOSOAuthServerBundle, a Symfony bundle. There is no service provider, no Laravel config publishing, no Eloquent integration. Any decision to adopt it in a Laravel codebase is a category error, so this evaluation mostly informs a rejection rather than a build/buy call.league/oauth2-server directly for Laravel; trikoder/oauth2-bundle or League + Symfony's security stack for Symfony. FOSOAuthServerBundle itself has been effectively abandoned upstream, which is why forks like this exist.Consider it only under all of the following:
FOSOAuthServerBundle) and the package name (oauth-server-bundle) don't match, so verify what's actually in the tree before trusting it.Look elsewhere if any of these are true:
league/oauth2-server for custom flows. This bundle cannot serve you.trikoder/oauth2-bundle (League-based) or integrate league/oauth2-server directly. FOSOAuthServerBundle's ecosystem has moved on.To executives: This is not a candidate for adoption. It is a low-adoption, single-maintainer fork of an abandoned Symfony OAuth library, and it does not work with our Laravel stack at all. The strategic point worth funding is the capability, not the package: OAuth2/OIDC issuance should be delivered on a maintained, community-audited library — Laravel Passport or League's OAuth2 server — because authentication is a security-critical surface where "one person's fork" is unacceptable supply-chain risk. If any team is currently depending on this fork, treat it as technical debt with a scheduled migration, not as a dependency to standardize on.
To engineering: Do not add this. It's a Symfony bundle with no Laravel integration, zero stars, zero dependents, and a 2023 release. If a legacy Symfony service is already on FOSOAuthServerBundle, we'll allow a pinned, internally vendored copy only with a written exit plan and an owner — and only after diffing the fork against upstream to confirm what it actually changes. For anything new, the sanctioned path is Passport (Laravel) or trikoder/oauth2-bundle / League (Symfony). Flag any existing usage in the dependency inventory so we can size the migration.
How can I help you explore Laravel packages today?