kidatsy/lightsaml-lightsaml
LightSAML is a PHP library for SAML 2.0, helping developers build service providers and identity providers with support for assertions, messages, metadata, signing, and encryption. A lightweight toolkit for adding SAML SSO to PHP applications.
TPM recommendation: Do not adopt as a strategic dependency for new production SSO without a security review and a funded fork/maintenance plan. Use only as a short-term bridge, reference implementation, or migration aid; otherwise prefer a maintained SAML library, Laravel SAML package, or managed identity provider.
SamlProvider interface so the library can be replaced later. Keep SAML protocol handling isolated from Laravel auth, user models, and business logic.dom, libxml, and openssl, XML canonicalization behavior, SHA-256 support, IdP metadata formats, and Composer dependency conflicts. Test against the actual IdP and at least one test IdP.How can I help you explore Laravel packages today?