Description
Laravel SAML2 is a Service Provider integration that adds single sign-on to a Laravel application through the SAML2 protocol. It is based on the OneLogin toolkit and supports several Identity Providers, so your app can accept sign-ins from more than one SSO provider. The repository is maintained by Scaler Tech, and the original package namespace is kept for backwards compatibility. Teams moving from the archived 24slides/laravel-saml2 package can switch over, since the 2.5.x line is fully compatible with the original for existing integrations. The versioning policy says 2.x receives no breaking changes. The 2.5.x line supports PHP 7.0 through 8.5 and Laravel 5.5 through 12, and versions above 2.7.x need PHP 8.2 or newer and support Laravel 9 through 13. A 3.x line is in development and will include breaking changes. Installation takes three steps: install the package with Composer, publish the configuration file, and run the migrations. Laravel 5.5 and later register the service provider automatically. You then configure the service provider for your identity providers.…
Highlights
- SAML2 single sign-on for Laravel
- Multiple Identity Providers
- Built on the OneLogin toolkit
- Compatible with the archived 24slides package
- Publishes a config file and migrations
Ratings & Reviews
No ratings yet
Be the first to rate Laravel Saml2.
People also visit
Laravel Saml2 FAQ
What is it for?
It adds SAML2 single sign-on to a Laravel app, turning the app into a Service Provider that works with one or more Identity Providers.
Which PHP and Laravel versions does it support?
The 2.5.x line supports PHP 7.0 through 8.5 and Laravel 5.5 through 12. Versions above 2.7.x need PHP 8.2 or newer and support Laravel 9 through 13.
I used the archived 24slides package. Can I switch?
Yes. The site says the 2.5.x line is fully compatible with the archived original for existing integrations, so you update your Composer dependency.
How do I install it?
Install the package with Composer, publish the configuration file and run the migrations. Laravel 5.5 and later register the service provider automatically.
Is there a 3.x version?
A 3.x line is in development and will include breaking changes, so it will not be backwards compatible with 2.x.
What are the best Laravel Saml2 alternatives?
Popular alternatives to Laravel Saml2 include Guard, Djangosaml2 and Openvpn Auth Oauth2. See all Laravel Saml2 alternatives

