majora/oauth-server-bundle
A PHP bundle that adds an OAuth 2.0 authorization server to your application, handling token issuance and validation so you can secure APIs and support standard grant flows with minimal setup.
This is a reference artifact, not an adoption candidate — and the first product decision it forces is a framing correction. Despite being submitted as a "Laravel/PHP package," majora/oauth-server-bundle is a Symfony 2.8+ bundle and it is archived. For a Laravel roadmap it is non-consumable; as a PM, treat it as an input to analysis, not a line item in a build plan.
With that framing, it supports these decisions:
league/oauth2-server + its official Symfony bundle, or a hosted IdP (Auth0, WorkOS, Cognito, Keycloak for self-hosted).Consider it only in these narrow cases:
Look elsewhere decisively when any of the following holds:
Encode the rule in your review checklist: any dependency on the authentication path must have an active maintainer and a patch SLA — or be code we own.
To executives: We evaluated an MIT-licensed OAuth server component as a candidate for our login and API-authorization layer. Two facts settle it: it is a Symfony component, so it does not fit our Laravel stack, and it has been archived by its maintainer with negligible adoption (3 stars, no dependents). Authentication is the highest-trust surface in the product; adopting unmaintained code there creates security, audit, and upgrade liability that far outweighs the zero license cost. Recommendation: do not adopt. Keep it only as a reference point in our build-vs-buy analysis and proceed with a maintained first-party option (Laravel Passport) or a hosted identity provider.
To engineering: Treat this as a design reference, not a dependency — its grant/client/token schema is a useful checklist for scoping the problem. For implementation, Passport delivers the same OAuth2-server role inside Laravel with active maintenance, shipped migrations, guards, and scopes; where we need standalone OAuth on Symfony, league/oauth2-server plus its official bundle is the maintained path; if we need current spec coverage (PKCE, OIDC, revocation), a hosted IdP is the lower-risk route. One action item regardless of decision: if any legacy service is already running this bundle, flag it now so we can size the migration instead of discovering it during a PHP upgrade. Assume we become the maintainers on day one, and plan a security review before any code we don't control touches token issuance.
Bottom line: opportunity 3.59 against an overall score of 1.34 reads as "the OAuth-server problem is worth solving; this artifact is not a good solution to it." Zero dependents, archived status, and an off-stack runtime mean the ownership cost hides entirely in security response and upgrade work. Decline, substitute Passport or a hosted IdP, and document the rationale in the dependency register.
How can I help you explore Laravel packages today?