lightsaml/symfony-bridge
Symfony bridge for LightSAML that integrates SAML 2.0 service provider authentication with Symfony Security. Provides configuration, firewall integration, and user loading so Symfony apps can add SSO via existing SAML identity providers.
Adopt only under a narrow set of conditions:
lightSAML/SymfonyBridgeBundle — it ships a Symfony bundle (DI extension, service definitions, configuration tree). On Laravel you would be wiring Symfony's DI container into a Laravel service provider, or more realistically reimplementing the ~few-hundred-line bridge yourself. That's the entire value of this package, and it's the part you'd be throwing away.lightsaml/lightsaml — you still own metadata exchange, ACS/SSO endpoint routing, attribute mapping, user provisioning/JIT, and session lifecycle. Budget for that work explicitly.Look elsewhere when:
aacotroneo/laravel-saml2 or the socialiteproviders/saml2 Socialite driver against your Laravel version, or skip the protocol entirely and use a broker. These are maintained-adjacent at best; treat all of them as "review the dependency tree before committing."For executives: "We evaluated an open-source SAML integration for enterprise SSO. It's a thin glue layer for Symfony applications, last released in 2018, with essentially no adoption, and it doesn't cover the parts of SSO that actually cost money — user provisioning, attribute mapping, certificate rotation, and support. Recommendation: don't build SSO on this. Either budget for a maintained SP library plus ~X engineer-weeks of integration, or pay a broker a per-connection fee and ship SSO in a sprint instead of a quarter. Either way, SSO is a sales-unblocking item for mid-market and up, so it belongs on the roadmap — just not through this dependency."
For engineering: "This is a Symfony bundle, not a Laravel package — everything it does, we'd have to adapt or rewrite, and it's ~7 years stale against Symfony 6/7. It wraps lightsaml/lightsaml and leaves us owning the ACS endpoint, metadata handling, attribute mapping, and replay/clock-skew edge cases. It also puts an unmaintained dependency in the auth path, which our security review will flag. If we go the library route, prefer a maintained SAML toolkit or a Socialite driver we can pin and audit; if we want this off our plate, a broker integration is a fraction of the surface area and shifts the certificate/spec-quirk maintenance to the vendor."
Bottom line for the decision log: Low opportunity, low adoption, stale release, wrong framework — no. Revisit only if the org standardizes on Symfony and someone owns the fork.
How can I help you explore Laravel packages today?