bloomatwork/oneloginsaml-bundle
A Symfony bundle that integrates the OneLogin SAML PHP toolkit, adding SAML 2.0 single sign-on authentication to Symfony applications. It helps configure service provider settings, handle SAML requests and responses, and authenticate users via an identity provider.
onelogin/php-saml toolkit and only wires it into the framework. The PM decision is to not fund a bespoke SAML implementation; consume the proven cryptography layer.onelogin/php-saml library directly (or via a maintained Laravel wrapper). This distinction should set the evaluation scope before any engineering time is spent.Consider it when:
php-saml toolkit and need minimal framework glue rather than a managed identity vendor.Look elsewhere when:
onelogin/php-saml directly or a maintained Laravel SAML package; don't adopt a framework-mismatched dependency.php-saml version and CVE history.Adoption criteria to apply before committing: supported framework versions, release cadence and maintainer activity, test coverage of both SP- and IdP-initiated flows, CVE/patch history of the underlying toolkit, license compatibility, and whether the fork has diverged from upstream in ways that complicate upgrades.
To executives: Enterprise buyers increasingly treat SSO as a prerequisite, not a feature. A SAML SP integration unblocks procurement cycles and strengthens our security story for compliance reviews. The protocol layer is a solved problem in the PHP ecosystem, so this is primarily an integration and configuration effort rather than a multi-month build — but our package choice needs diligence, since the specific fork we're looking at has minimal adoption and the well-maintained asset is the underlying OneLogin toolkit.
To engineering: This is a Symfony bundle around OneLogin's proven php-saml library, so the hard cryptography and protocol work is delegated. That said, the bundle itself is a thin, low-adoption fork — plan to pin and monitor the underlying php-saml version, and budget for certificate rotation, metadata handling, IdP-specific attribute quirks, and testing both SP- and IdP-initiated flows with mocked IdP fixtures. If our target application is Laravel, this bundle is the wrong dependency and we should scope around the framework-agnostic library or a maintained Laravel wrapper instead.
To security/compliance: Adopting SAML 2.0 with signed assertions and encrypted responses materially improves our identity and access posture and gives auditors a concrete control around centralized authentication and deprovisioning. Condition adoption on tracking upstream security releases and having a documented upgrade path for the toolkit.
Bottom line for the decision meeting: The capability is strategically worthwhile; this specific artifact is a low-signal, framework-mismatched fork. Approve the SSO initiative, and direct engineering to validate the correct framework-appropriate dependency — an actively maintained Symfony bundle or a Laravel SAML solution backed by onelogin/php-saml — before committing to this package.
How can I help you explore Laravel packages today?