nbgrp/onelogin-saml-bundle
Symfony bundle integrating the OneLogin PHP SAML toolkit for easy SAML service provider setup, SSO authentication, and wiring SAML logins into Symfony’s security system.
Architecture fit
Bundle class, DI extension, config tree, security firewall factory, authenticator, metadata controller — and (b) the actual SAML protocol work, which lives in the upstream onelogin/php-saml toolkit.FrameworkBundle, no Symfony security firewall, and no kernel/config-tree lifecycle. composer require will succeed; nothing will wire up. v3.0.0 does not change this — the release is a Symfony-version-support change inside part (a), the exact layer that is inert for us./saml/metadata, an ACS route, login redirect, SLO, attribute mapping to an Eloquent user, and guard/middleware integration — all have Laravel-native equivalents the bundle does not provide.Integration feasibility
onelogin/php-saml (or a maintained equivalent), patterned on this bundle's configuration and validation flow.Technical risk
onelogin/php-saml and its XML-signature library. Note the release notes say nothing about bumping the SAML library or the signature dependency — treat that as unverified and check the composer.json constraint diff before assuming any security-relevant upgrade occurred.Key questions
onelogin/php-saml or the XML-signature dependency, or is it purely a Symfony constraint change? This determines whether there is any security-relevant delta worth reading the diff for — the answer decides whether the port references v2.1.0 or v3.0.0 patterns.Stack fit
FrameworkBundle. Nothing in the bundle's integration layer will bind — and v3.0.0, being a Symfony 8 constraint change, touches precisely the layer we already cannot use.config/saml.php; its firewall authenticator maps to a Laravel guard plus middleware; its metadata action maps to a single controller route. That mapping is stable across v2.1.0 → v3.0.0.Migration path
bundles.php, configure the firewall, point at IdP metadata. Low effort, well-trodden — but note v3.0.0 likely requires Symfony 8, so existing Symfony 6/7 estates must upgrade the framework first. Pin the bundle major to the framework major.Compatibility
Sequencing
onelogin/php-saml, validating real signed assertions end-to-end.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?