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.
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.
Consider it only when:
Look elsewhere when:
league/oauth2-client, which brings the provider ecosystem with it.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.
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.
How can I help you explore Laravel packages today?