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

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...

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. This is the first and most important finding: gregoryeple/oauth-server-bundle is a Symfony bundle, not a Laravel package. It is a fork of the long-standing FOSOAuthServerBundle, which is built on Symfony's SecurityBundle, EventDispatcher, HttpKernel, and (typically) Doctrine ORM. Laravel's service container, HTTP kernel, auth guards, and Eloquent ORM are architecturally disjoint from these primitives. There is no realistic drop-in path into a Laravel application: adopting it would mean pulling Symfony's security and DI layers into a Laravel process, or fronting a separate Symfony service. Neither is a "package integration" — both are re-platforming exercises.

Integration feasibility. Low. In a Laravel context the practical options are (a) stand up an isolated Symfony service running this bundle and call it over HTTP, or (b) discard it and use laravel/passport (which already wraps league/oauth2-server) or laravel/sanctum. Option (a) imports an unmaintained fork as a new service boundary; option (b) is the native answer to the same problem. The package provides no Laravel service provider, facade, config publishing, migrations, or Eloquent bindings — the usual signals of Laravel readiness are entirely absent.

Technical risk. High on every axis:

  • Ecosystem validation: 0 stars, 0 dependents, 0 score. There is no evidence any production system uses this fork.
  • Provenance: It is a personal fork of FOSOAuthServerBundle, which upstream has been effectively deprecated in favor of league/oauth2-server-based Symfony bundles. Forking an abandoned package and releasing it under a personal namespace is a supply-chain signal, not a maintenance signal.
  • Version drift: The last release (2023-06-14) is likely a compatibility patch, not active development. FOSOAuthServerBundle's lineage predates Symfony 6/7 and PHP 8.2+; compatibility with a current Laravel (10/11) PHP runtime is unverified.
  • Security surface: An OAuth authorization server is a high-value attack target (PKCE, redirect URI validation, token leakage, open redirect, client authentication). A single-maintainer unvetted fork is the wrong place to accept that risk.

Key questions to resolve before any further work.

  1. Is the actual requirement a Laravel-side OAuth server, a client, or an SSO broker? (Passport vs. Sanctum vs. Socialite answer these differently.)
  2. Does the organization actually run a Symfony service where this bundle would legitimately live? If not, the evaluation ends here.
  3. Why this fork rather than the upstream or league/oauth2-server-bundle? What does it add?
  4. Which OAuth 2.0 grants (authorization code + PKCE, client credentials, refresh) are required, and does the fork support them on a current PHP/Symfony baseline?
  5. Who owns the security review, and can we get a dependency audit (composer audit, CVE history, maintainer identity) signed off?

Integration Approach

Stack fit. Poor for Laravel, plausible only for Symfony. A Laravel codebase should treat this as out-of-scope and route the requirement to laravel/passport (full OAuth2 server) or laravel/sanctum (first-party SPA/mobile tokens). If the requirement is genuinely a Symfony service, the correct target is league/oauth2-server-bundle, not a personal fork.

Migration path. There is no migration to this package that a TPM should sponsor. The credible migration narrative runs the other direction: if any team is already on FOSOAuthServerBundle, plan an exit to league/oauth2-server (or Passport, on the Laravel side). A 0-dependent fork does not justify a migration project.

Compatibility. Unknown and unverified. Requires confirming: PHP 8.x support, Symfony 6/7 support, Doctrine DBAL/ORM versions, PSR-7/PSR-15 compliance, and whether the fork's composer.json constraints are current. Assume incompatible with Laravel 10/11 until proven otherwise; do not accept "it's PHP, so it works" as evidence.

Sequencing (if, and only if, a Symfony service is in scope).

  1. Confirm the Symfony service exists and owns the OAuth requirement.
  2. Fork the fork internally; pin to a commit; run composer audit and a manual review of token/redirect handling.
  3. Replace with league/oauth2-server-bundle as the default recommendation; evaluate the fork only if it provides a documented, tested capability upstream lacks.
  4. For Laravel: close the ticket and open one against Passport/Sanctum instead.

Operational Impact

Maintenance. Effectively unmaintained. One maintainer, zero dependents, no visible release cadence beyond a single 2023 tag. Any breakage from a PHP or Symfony minor release becomes our incident, and we would be the only party who noticed.

Support. No vendor, no community, no Stack Overflow footprint for this fork, no CVE monitoring tied to the package name. Upstream FOSOAuthServerBundle's issue history is the only adjacent knowledge base, and it is largely a record of deprecation.

Scaling. The OAuth server itself scales the way token storage scales (Doctrine-backed tokens, database round-trips per validation). This is standard and not the concern — the concern is that we would be scaling on top of an unaudited auth component. Token introspection and revocation paths need explicit load testing regardless of package.

Failure modes.

  • Silent security regression: an OAuth server bug is an auth bypass, not a 500. No upstream patch stream means no notification.
  • Upgrade wall: a PHP/Symfony bump breaks the bundle and the whole auth path with it, with no maintainer to fix it.
  • Supply-chain exposure: installing a low-signal personal fork into an auth-critical path expands the trusted code surface for no functional gain.
  • Lock-in to a dead lineage: the longer it lives in the stack, the more expensive the eventual exit.

Ramp-up. High. The team would need working Symfony Security/DI knowledge plus OAuth 2.0 protocol depth — a significant investment to adopt a package that offers no advantage over laravel/passport.

TPM recommendation. Do not adopt. The package is a zero-signal Symfony fork being evaluated for a Laravel stack — a category mismatch compounded by an unmaintained lineage and an auth-critical blast radius. The opportunity score (26.65) and zero dependents are consistent with the technical read. Close this evaluation and redirect the requirement to laravel/passport or laravel/sanctum; if a Symfony service is genuinely in play, evaluate league/oauth2-server-bundle instead.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager