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

Oauth2 Server Configuration Bundle Laravel Package

spomky-labs/oauth2-server-configuration-bundle

Symfony bundle from Spomky-Labs that adds configuration support for OAuth2 server integrations, helping wire authorization and resource server components into Symfony applications through bundle configuration. Intended for projects using the Spomky-Labs OAuth2 server libraries.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for the authorization layer. This package is a configuration bundle, not a full authorization server: it wires declarative Symfony2 config (clients, scopes, grant types, token TTLs) into an underlying OAuth2 server library. It's a useful reference point for how much of OAuth2 should be configuration vs. code — a question that recurs in every build-vs-buy review.
  • Roadmap scoping for SSO, partner APIs, and machine-to-machine access. The configuration surface it exposes (authorization-code, client-credentials, refresh tokens, per-client scopes, token lifetimes) maps directly to the requirements docs you'll write for those initiatives.
  • Multi-tenant client onboarding design. If your roadmap includes letting customers or partners register OAuth clients, this bundle's config-as-code approach is a legitimate pattern to evaluate: clients and scopes declared in YAML instead of managed through an admin UI.
  • Legacy Symfony2 portfolio triage. If any acquired or inherited product runs Symfony2, this package is a concrete indicator of what a migration off that stack entails.
  • Not a Laravel decision. Despite the framing, this is a Symfony2 bundle and is not installable or usable in a Laravel application. For Laravel, the equivalent decision is Laravel Passport (first-party) or league/oauth2-server directly. This package should influence your requirements, not your dependency list.

When to Consider This Package

Consider it only if:

  • You are maintaining an existing Symfony 2.x application that already depends on it, and the immediate task is understanding or patching that integration.
  • You need a worked example of declarative OAuth2 server configuration (clients, scopes, grants, TTL overrides) to inform your own config schema.
  • The context is an internal, low-traffic tool where framework age is already an accepted, documented risk.

Look elsewhere if any of the following is true:

  • You are on Laravel. Use Passport, or league/oauth2-server for finer control. This package is irrelevant.
  • You are on modern Symfony (5/6/7). Use league/oauth2-server-bundle or a dedicated identity provider (Keycloak, Ory Hydra, Auth0, FusionAuth).
  • Anything production, security-sensitive, or compliance-relevant. Symfony2 has been end-of-life for years; the package shows zero stars, zero dependents, and no maintenance signal. That means no security patching, no CVE response, and no community escape hatch — an unacceptable supply-chain position for auth.
  • You need OpenID Connect. This is OAuth2 configuration only; OIDC identity layers are out of scope.
  • Your procurement or security review requires maintained, actively supported dependencies. This fails that gate by definition.

How to Pitch It (Stakeholders)

For executives: This is a configuration bundle from the Symfony2 era for standing up an OAuth2 authorization server. It is unmaintained, has no measurable adoption (zero stars, zero dependents), and targets a framework that reached end-of-life years ago. It should not become a dependency in anything we ship — the security and maintenance risk outweighs any convenience. What is valuable is the design pattern it demonstrates: treating OAuth2 clients, scopes, grant types, and token lifetimes as declarative configuration rather than bespoke code. We should replicate that pattern on a supported stack.

For engineering: Treat this repository as a reference for configuration surface design, not as a candidate dependency. It shows a clean separation between transport/server behavior (delegated to the underlying OAuth2 library) and policy (clients, scopes, grants, TTLs) — a separation worth preserving in whatever we build. If we are on Symfony2 today, isolate the dependency and schedule migration; if we are on Laravel or modern Symfony, the correct choices are Passport, league/oauth2-server/-bundle, or a managed IdP. Evaluation cost is near zero; the cost that matters is the migration we would eventually be forced into if we adopted it.

Bottom line for the decision log: Reject as a dependency; retain as a design reference; use it to sharpen requirements for a supported OAuth2/OIDC solution.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin