onelogin/php-saml
PHP toolkit for adding SAML 2.0 SSO to your app. Handles login/logout, assertion processing, metadata generation, and signature/encryption validation, with strict security options and PHP 7.3+ (4.x) or older PHP support via branches.
strict: true, SHA-256+ signatures, replay attack protection).passport-saml (for SP/IdP).league/oauth2-server)."This SAML package lets us integrate with enterprise identity providers (e.g., Okta, Azure AD) in weeks, not months, reducing password fatigue and security risks. It’s used by 1.3K+ projects, including Fortune 500 companies, and handles SSO/SLO securely—critical for compliance and B2B partnerships. The cost? Zero licensing fees (MIT license) and minimal dev effort compared to building from scratch."
Key Outcomes:
**"This is a production-ready SAML 2.0 SP library for PHP/Laravel with:
AuthRequest) or low-level (XML parsing) control.Implementation Plan:
acs.php endpoint.Risks Mitigated:
Call to Action: "Let’s prototype SSO for [App X] in 2 sprints using this library, then expand. I’ll provide a spike plan with IdP-specific configurations."
How can I help you explore Laravel packages today?