Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Oauth Server Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

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:

  • Build vs. buy on the authorization layer. An OAuth 2.0 authorization server is infrastructure, not differentiation. This package shows the minimum surface of that build — grant types, client/scope registry, token issuance and validation — which is enough to size the "own it in-house" option against buying a hosted IdP or taking Laravel Passport as a first-party dependency.
  • Scope of v1 authentication. Use its (small) feature set as a floor-plan for what "minimum viable auth" looks like, then decide where your v1 line sits — e.g. authorization code + refresh tokens in v1; PKCE-by-default, device flow, OIDC, introspection/revocation deferred. The package's gaps are themselves the discovery exercise.
  • Roadmap sequencing for partner, mobile, and third-party API access. If the roadmap contains "Sign in with us," partner integrations, or a mobile client, this informs whether that lands as a sprint-sized integration or a multi-quarter build.
  • Dependency and vendor-risk policy. A 3-star, zero-dependent, archived package sitting directly on the trust boundary is a concrete test case for your review checklist. It argues for a written rule: anything on the authentication path needs an active maintainer and a patch commitment, or it must be code we own.
  • Legacy migration sizing. If any service in the estate already runs this bundle, the decision is replace or retain, not adopt — and the cost of deferring a PHP/framework uplift is entirely yours.
  • Shortlist requirements for the real evaluation. It sharpens what you ask of the alternatives: Laravel Passport (first-party, maintained, Eloquent-native OAuth2 server), Sanctum (if you need API tokens, not full OAuth), league/oauth2-server + its official Symfony bundle, or a hosted IdP (Auth0, WorkOS, Cognito, Keycloak for self-hosted).

When to Consider This Package

Consider it only in these narrow cases:

  • You maintain a Symfony 2.8-era service that already depends on it and you need to understand or patch behavior ahead of a planned migration.
  • You want a compact reference read — its client storage and grant handling are useful input before designing your own issuer or drawing up evaluation criteria for a modern library.
  • You are estimating historical build cost ("what would owning this have cost us?") to calibrate a make-vs-buy argument.

Look elsewhere decisively when any of the following holds:

  • Stack mismatch. On Laravel, this is not applicable at all — there is no service provider, no Eloquent layer, and Symfony's bundle/kernel model does not transfer. Use Passport, or Sanctum if full OAuth2 is overkill.
  • It would be security-critical. OAuth servers sit on the trust boundary. Archived + 3 stars + zero dependents means no CVE response, no PHP 8.x compatibility work, no security review, nobody to escalate to. That is disqualifying on its own.
  • You need modern spec coverage. PKCE as default, OAuth 2.1 direction, OpenID Connect, token introspection and revocation, FAPI-adjacent hardening — none of it is realistic here. An issuer without PKCE cannot safely serve public/mobile/SPA clients.
  • You need long-term support. Archived means every future PHP or framework upgrade becomes your team's backlog item, permanently.
  • Compliance or audit applies. SOC 2 / ISO 27001 reviewers ask about abandoned dependencies on the auth path. It is a finding.

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.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle