Beartropy SAML2
SAML 2.0 authentication for Laravel applications. Easy setup wizard, multi-IDP support, and a complete admin panel. Built on OneLogin's php-saml library.
composer
require
beartropy/saml2
Setup Wizard
Guided Configuration The setup wizard guides you through the entire SAML configuration process. Share your SP metadata with the IDP administrator and configure the IDP in just a few clicks.
Multiple Import Methods Import IDP metadata from a URL, paste XML directly, or configure manually. Works with Azure AD, Okta, ADFS, Google Workspace, Keycloak, and more.
Why Beartropy SAML2?
Setup Wizard
First-time configuration wizard that guides you through SP and IDP setup. Available before the first IDP is configured.
Multi-IDP Support
Configure multiple Identity Providers. Support Azure AD, Okta, ADFS, Google Workspace, Keycloak, and any SAML 2.0 compliant IDP.
Admin Panel
Web-based admin panel to manage IDPs, configure attribute mapping, and monitor SAML authentication.
Attribute Mapping
Global and per-IDP attribute mapping. Normalize SAML claims from different providers into consistent user fields.
Security First
Full signature and encryption support. Generate SP certificates with artisan commands. Production-ready security settings.
Artisan Commands
1# Create IDP from metadata URL 2php artisan saml2:create-idp azure --from-url=https://login.microsoftonline.com/{tenant}/federationmetadata.xml 3 4# Generate SP certificates 5php artisan saml2:generate-cert 6 7# Publish login listener 8php artisan saml2:publish-listener 9 10# List configured IDPs11php artisan saml2:list-idps
Built on OneLogin
Powered by the robust onelogin/php-saml library for reliable SAML 2.0 authentication.