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 Client Bundle Laravel Package

jdelaune/oauth2-client-bundle

Symfony bundle that wraps the PHP League OAuth2 client, letting you configure OAuth2 providers as services and use them to run authorization flows and retrieve access tokens in your application. A lightweight way to wire OAuth2 clients into Symfony.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

Feature scoping — "Sign in with X" / SSO. Any roadmap item that adds social or enterprise login to a Symfony application needs an OAuth2 client. This package is a candidate implementation, so evaluating it is a direct input to that feature's cost, timeline, and risk line.

Build vs. buy vs. adopt. OAuth2 is a commodity capability; nobody should hand-roll token exchange and refresh logic. The real decision this package informs is which commodity to standardize on — and its profile (5 stars, 0 dependents, last release Dec 2019) argues for standardizing on a maintained alternative rather than adopting this one. Documenting that comparison is worth doing once and reusing for every subsequent integration.

Platform lifecycle and modernization sequencing. The bundle targets Symfony 2–4 only. Symfony 2 and 3 are long end-of-life and Symfony 4 reached EOL in November 2023. Adopting it is a commitment to an unsupported framework line, so it forces a roadmap question: do we modernize the host application before shipping SSO, or ship SSO on a frozen stack? That sequencing decision has downstream cost implications for hiring, security patching, and hosting.

Security and compliance review. Authentication code is the highest-consequence surface in the product. A dependency with no meaningful community, no visible recent maintenance, and no released security patches in six years will surface in dependency scanning, penetration tests, and SOC 2 / vendor questionnaires. This is a "known risk to record and accept or reject" item, not a silent dependency add.

TCO and support ownership. Zero dependents and a single-maintainer history mean the support burden is effectively 100% internal from day one. That belongs in the build-vs-buy math alongside license cost (MIT, so zero) — the license is free, the ownership is not.

Enterprise deal enablement. SSO is frequently a contractual gate for B2B customers. A stale auth library is a plausible blocker to a revenue commitment, which raises the priority of picking the boring, maintained option.

When to Consider This Package

Consider it only when:

  • A legacy Symfony 2/3/4 application already depends on it, and the cost of removing it exceeds the cost of leaving it in place. In that case the decision is "freeze, do not expand scope," not "adopt."
  • It backs a short-lived internal tool with no customer PII, no internet exposure, and no compliance obligations — a throwaway whose failure mode is a broken login, not a breach.
  • You need a time-boxed spike to validate an OAuth2 flow's viability before committing to a production library.

Look elsewhere when:

  • The work is greenfield, or the host application is on Symfony 5, 6, or 7 — the package does not target those versions.
  • You need PHP 8.x compatibility, active security response, or a maintainer who answers issues.
  • You need the broader provider ecosystem (Google, Azure AD/Entra, Okta, GitHub), OpenID Connect, PKCE, or refresh-token rotation. The established choice in this space is a maintained Symfony bundle built on league/oauth2-client, which brings the provider ecosystem with it.
  • The capability is customer-facing, revenue-linked, or in scope for an audit.

Open questions before any adoption: verify the actual last commit date against the last tagged release, confirm whether a security policy exists, and check the transitive dependency tree for other abandoned packages. The published metadata is a lagging indicator; the repository is the source of truth.

How to Pitch It (Stakeholders)

For executives: This is a free, MIT-licensed Symfony bundle for adding OAuth2 login. It is not a strategic dependency and I do not recommend it for new product work. It only supports Symfony 2–4, all of which are past end-of-life, its last release was December 2019, and it has essentially no community around it — five stars and zero dependent projects. The license is free; the ownership is not. Using it would make our authentication layer something we maintain ourselves, indefinitely, on an unsupported framework, and it would show up in security reviews. My recommendation is to standardize on a maintained alternative and to treat any existing use of this package as technical debt to be contained, not extended. The decision we actually need from you is sequencing: if SSO is on the roadmap for a legacy Symfony app, we should fund the framework upgrade first rather than ship auth on a frozen stack.

For engineering: The package is unmaintained by any practical definition. Any team inheriting it should pin the version, add it to the dependency-risk register, and stop new integrations against it. For new work, evaluate the actively maintained Symfony bundle built on league/oauth2-client — it covers the providers we are likely to need and gives us a path to OIDC and PKCE without custom code. If a legacy app genuinely cannot move off Symfony 2–4 in the current planning horizon, we should scope the auth integration as a bounded internal-risk item with an explicit owner, not treat it as a normal library add.

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.
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen