scaler-tech/laravel-saml2
SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit
2.7.2
209K downloads/mo
#3071 most downloaded on Packagist
scaler-tech/laravel-saml2
What this package is like to depend on
Last release 5 months ago
20 Mar 2026
Release timing varies
gaps range from 9 days to 13 months
Most releases are documented
notes for 30 of 45 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
45 releases · first in 2015
6 releases in the last 12 months
see the full history below
Release timeline
45 releases · Feb 2015 to Mar 2026Releases
latest 45-
2.7.220 Mar 2026 -
2.7.115 Feb 2026Release notes
Open source →Changes
- Added local helper:
src/Helpers/Uuid.phpUuid::uuid7(?DateTimeInterface $time = null)with monotonic behavior within the same millisecond.
- Removed direct package dependency:
composer.jsonremovedramsey/uuid": "^4.0
Full Changelog: 2.7.0...2.7.1
- Added local helper:
-
2.7.015 Feb 2026Release notes
Open source →Highlights
- Updated package compatibility baseline to modern stack versions.
- Added/expanded integration test coverage for SAML auth flows, service provider wiring, and tenant CLI commands.
- Improved Saml2User attribute handling with parsed-attribute support while keeping backward-compatible property access.
- Improved package bootstrapping for newer Laravel versions (mergeConfigFrom now happens in register()).
- Added static analysis and code style tooling (PHPStan + PHP CS Fixer) and applied strict typing/style refactors across the codebase.
- Updated CI to run a Laravel/PHP matrix for current supported versions.
Compatibility updates
- Minimum PHP is now 8.2.
- Laravel
illuminate/*support is now^9 || ^10 || ^11 || ^12 onelogin/php-samlis now^4.0ramsey/uuidis now^4.0- Test stack updated to modern versions (
phpunit 10/11,orchestra/testbench 8/9/10)
Upgrade note
- This branch is a major compatibility shift for consumers on older PHP/Laravel versions.
If your app is below PHP 8.2 or Laravel 9, upgrade your platform first before adopting this branch.
What's Changed
Full Changelog: 2.5.1...2.7.0
-
2.5.215 Feb 2026Release notes
Open source →Changes
- Added local helper:
src/Helpers/Uuid.phpUuid::uuid7(?DateTimeInterface $time = null)with monotonic behavior within the same millisecond.
- Removed direct package dependency:
composer.jsonremovedramsey/uuid": "^4.0
Full Changelog: 2.5.1...2.5.2
- Added local helper:
-
2.5.110 Feb 2026Release notes
Open source →What's Changed
- Preserve existing tenant name_id_format on saml2:update-tenant unless --nameIdFormat is explicitly passed.
Source issue: #96 - Accept both GET and POST on /saml2/{uuid}/sls to support IdP-initiated SLO callbacks that use POST binding.
Source issues:
#119
#30 - Prevent redirect TypeError on auth/SLO error paths when route config values are missing by enforcing safe redirect response fallbacks.
Source issues:
#63
#50
- Improve tests by @beeyev in https://github.com/scaler-tech/laravel-saml2_bak/pull/3
Full Changelog: 2.5.0...2.5.1
- Preserve existing tenant name_id_format on saml2:update-tenant unless --nameIdFormat is explicitly passed.
-
2.5.009 Feb 2026Release notes
Open source →Forked project to
scaler-tech/laravel-saml2This version is fully compatible with v2.x
24Slides/laravel-saml2What's Changed
- Update project metadata and documentation for Scaler Tech fork (source PR, @beeyev)
- Add GitHub Actions workflows for PHP environment setup and PHPUnit testing (source PR, @beeyev)
New Contributors
- @beeyev made their first contribution in source PR #1
Full Changelog: 2.4.2...2.5.0
-
2.4.212 Mar 2025 -
2.4.104 Feb 2025Release notes
Open source →Added
- Add explicit nullable type in a few places to avoid "PHP Deprecated" warning (PR #113, @andreypopov)
Release notes
Open source →Added
- Add explicit nullable type in a few places to avoid "PHP Deprecated" warning (PR #113, @andreypopov)
-
2.4.013 Apr 2024 -
2.3.026 Nov 2023Release notes
Open source →Added
- Add a possibility to skip loading default database migrations (PR #76, @abublih)
Fixed
- Add .gitattributes to ensure that unnecessary files aren't exported when downloading via Composer (PR #75, @owenvoke)
-
2.2.128 Sep 2023Release notes
Open source →Added
- Add uuid of tenant to
salm2.error_detail; makes logs more informative (PR #74, @vopolonc)
- Add uuid of tenant to
-
2.2.020 Feb 2023 -
2.1.011 Feb 2023Release notes
Open source →Added
- Add an ability to customize Tenant model (PR #49, @dmyers)
Fixed
- Change idpKey to uuid in saml2.php (PR #45, @joelpittet)
-
2.0.1113 Sep 2022Release notes
Open source →Fixed
- Improve sls handling of errors to match acs action (PR #35, @dmyers)
- Fix querying tenants via console commands when using PostgreSQL (issue #22)
-
2.0.1014 Apr 2022 -
2.0.930 Mar 2021Release notes
Open source →Added
- Add SignedIn event accessors, to match the docs (#10, @darynmitchell)
-
2.0.804 Mar 2021Release notes
Open source →Fixed
- Version require ramsey/uuid and phpunit/phpunit
- Update branch aliases
-
2.0.728 Oct 2020 -
2.0.623 Oct 2020 -
2.0.523 Oct 2020Release notes
Open source →Added
- The ability to customize Name ID Format for different Identity Providers
-
2.0.422 Oct 2020Release notes
Open source →Added
- Custom Relay State URL per Tenant (to specify a redirection URL after sign in)
-
2.0.301 Jul 2020 -
2.0.224 Mar 2020 -
2.0.117 Oct 2019 -
2.0.026 Jun 2019Release notes
Open source →Added
- Completely changed the way of supporting multiple Identity Providers by adding Tenants
- Helper functions
saml_url(),saml_route(),saml_tenant_uuid() - Initializing SP in middleware
- Database migrations
- Console commands
saml2:create-tenant,saml2:update-tenant,saml2:delete-tenant,saml2:restore-tenant,saml2:list-tenants,saml2:tenant-credentials
Fixed
- Routes are now accepting UUID of tenants instead of
idpKey
Removed
- IdP Resolver, now it resolves by
ResolveTenantmiddleware by matching UUID on routes - Building SSO SP in Laravel ServiceProvider
-
1.2.020 Jun 2019Release notes
Open source →Added
- Refactored the way of resolving identity provider, now we take it from URL
- Implemented helper saml_idp_key() to retrieve a resolved IdP
- Implemented helpers saml_url(), saml_route() to generate SSO-friendly links (fx. on emails)
Fixed
- Fixed redirecting to a custom URL on login request using the
returnToquery parameter
Removed
- Removed referrer URLs from config parameters
-
1.1.428 Feb 2019Nothing published for this version
-
1.1.325 Feb 2019 -
1.1.216 Feb 2019 -
1.1.115 Feb 2019Release notes
Open source →Added
- Added CHANGELOG.md
Fixed
- Restricted support from Laravel 5.4+
- Restricted support PHP 7.0+
- Updated README.md
-
1.1.028 Jan 2019Release notes
Open source →Added
- Support of multiple IdPs (Identity Providers)
Fixed
- Renamed configuration file from
saml2_settingstosaml2 - Replaced underscores with dots in routes
- Minor refactoring, formatting
-
1.0.008 Nov 2018Nothing published for this version
-
0.11.119 Feb 2018Nothing published for this version
-
0.11.030 Aug 2017Nothing published for this version
-
0.10.014 Jul 2017Nothing published for this version
-
0.9.005 Jul 2017Nothing published for this version
-
0.8.111 Jan 2017Nothing published for this version
-
0.8.008 Aug 2016Nothing published for this version
-
0.7.111 Feb 2016Nothing published for this version
-
0.7.011 Feb 2016Nothing published for this version
-
0.6.010 Sep 2015Nothing published for this version
-
0.5.111 Feb 2015Nothing published for this version
-
0.5.009 Feb 2015Nothing published for this version
-
0.0.204 Feb 2015Nothing published for this version
-
0.0.104 Feb 2015Nothing published for this version