lightsaml/sp-bundle
Symfony bundle that adds SAML 2.0 Service Provider support via LightSAML. Configure SSO login/logout, consume IdP metadata, and validate assertions with minimal setup—ideal for adding enterprise single sign-on to Symfony applications.
Consider it only if all of the following hold:
SpBundle, DI extension, bundle config tree). In a Laravel codebase it contributes essentially nothing usable — no service provider, no config publishing, no facade. At best its Security/ and Entity/ classes are readable as a spec.lightsaml/lightsaml as the core protocol library, so the bundle is a thin integration layer rather than a second dependency to vet.Look elsewhere — decisively — when any of these are true:
24slides/laravel-saml2, aacotroneo/laravel-saml2 (also stale — vet carefully), or call onelogin/php-saml / python3-saml-style toolkits directly. On the Symfony side, nbgrp/onelogin-saml-bundle and hslavich/oneloginsaml-bundle are the live-ish alternatives.Net PM read: 1.2.1 does not move the needle. A single-line changelog adding support for a Symfony version that has itself been unsupported for years confirms the earlier characterization rather than revising it. Score 12.3 with opportunity 40.6 still reflects a package that is conceptually relevant (SSO is a real revenue lever) but operationally dead. Treat it as documentation.
To executives: Enterprise buyers consistently require SAML-based SSO before they will sign, and it's frequently a gating item in security review rather than a nice-to-have. The capability is strategically important; this specific package is not the way to get it. It is a Symfony-only integration layer whose most recent release (1.2.1) consists solely of adding compatibility with Symfony 4.1 — a framework version that has been end-of-life since 2020 — and it still has no downstream dependents. Recommendation: commit to SSO on the roadmap, but fund it either as (a) a buy from a managed identity vendor, which gets us multi-IdP support, SCIM, and audit logging in weeks, or (b) a build on a maintained protocol library with a named owner for security patching. What we should not do is adopt an abandoned auth dependency into a revenue-critical path.
To engineering: This is a Symfony bundle wrapping LightSAML for the Service Provider role — SP metadata, ACS endpoint, assertion validation, attribute mapping. Two hard blockers for us: it is not a Laravel package (no service provider, no publishable config; the value is reference code only), and its release cadence is compatibility patches only — 1.2.1 adds Symfony 4.1 support and nothing else, so there is no security-response story for signature-validation bugs, which is exactly the class of vulnerability that matters here. Use it to scope the work: enumerate IdP-initiated vs SP-initiated, per-tenant IdP config and certificate rotation, attribute-to-role mapping, JIT provisioning, and replay/clock-skew handling. Estimate accordingly. Then pick a maintained library or a managed provider for the actual implementation, and put an explicit owner on the auth path.
One-line ask: Approve SSO as a roadmap item, and approve a spike to choose between managed SSO and a maintained protocol library — with this package ruled out as a dependency.
How can I help you explore Laravel packages today?