litesaml/lightsaml
SAML 2.0 PHP library
5.1.0
6.8M downloads/mo
#1361 most downloaded on Packagist
litesaml/lightsaml
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Release timing varies
gaps range from 9 days to 12 months
Most releases are documented
notes for 45 of 71 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
72 releases · first in 2015
6 releases in the last 12 months
see the full history below
Release timeline
72 releases · Sep 2015 to Jul 2026Releases
latest 60 of 72-
5.1.009 Jul 2026Release notes
Open source →Security
- Reject Responses with duplicate assertion IDs (#114)
- Reject assertions with missing or empty ID (#117) (#118)
Bug Fixes
- Throw LightSamlBindingException instead of TypeError in getBindingByRequest() (#116)
Full Changelog: 5.0.1...5.1.0
Release notes
Open source →Security
- Reject Responses with duplicate assertion IDs (#114)
- Reject assertions with missing or empty ID (#117) (#118)
Bug Fixes
- Throw LightSamlBindingException instead of TypeError in getBindingByRequest() (#116)
-
5.0.129 Jun 2026Release notes
Open source →Security
- Reject XML Signature Wrapping (XSW) attacks in SignatureXmlReader (#113)
LightSAML 5.0.0 was vulnerable to an XML Signature Wrapping (XSW) attack
allowing an attacker who has captured one genuine signed assertion to have
LightSAML accept a fully attacker-authored assertion as IdP-signed, leading
to authentication bypass and privilege escalation.The fix enforces two invariants before signature validation: the
ds:Signature
parent element must carry the ID referenced by the fragment URI, and that ID
must be unique in the document.Full Changelog: 5.0.0...5.0.1
Release notes
Open source →Security
- Reject XML Signature Wrapping (XSW) attacks in SignatureXmlReader (#113)
-
5.0.027 Jun 2026Release notes
Open source →Breaking Changes
- Remove Pimple bridge and unused implementations (#107)
- Replace symfony/http-foundation with PSR-7 interfaces (#109)
- Bump minimum PHP requirement to 8.4
- Add strong typing to method parameters and return values (#110)
- Remove deprecated Serializable interface from state classes (#111)
- Enforce strict typing and reach PHPStan level 6 zero errors (#112)
Continuous Integrations
- Modernize CI workflows
Documentation
- Recommend litesaml/saml wrapper for high-level usage
Full Changelog: 4.7.0...5.0.0
Release notes
Open source →Breaking Changes
- Remove Pimple bridge and unused implementations (#107)
- Replace symfony/http-foundation with PSR-7 interfaces (#109)
- Bump minimum PHP requirement to 8.4
- Add strong typing to method parameters and return values (#110)
- Remove deprecated Serializable interface from state classes (#111)
- Enforce strict typing and reach PHPStan level 6 zero errors (#112)
Continuous Integrations
- Modernize CI workflows
Documentation
- Recommend litesaml/saml wrapper for high-level usage
-
4.7.026 Jun 2026Release notes
Open source →Features
- Add RSA-PSS certificate and SAML signature support (#102)
- Include AssertionConsumerServiceURL in outbound AuthnRequest (#103)
- Return SamlMessage from binding receive() method (#105)
Bug Fixes
- Bump dependencies to address security vulnerabilities (#101)
- Use SHA256 as default signing algorithm instead of SHA1 (#104)
- Use SignatureXmlReader instead of abstract Signature in RoleDescriptor deserialization (#106)
Full Changelog: 4.6.1...4.7.0
Release notes
Open source →Features
- Add RSA-PSS certificate and SAML signature support (#102)
- Include AssertionConsumerServiceURL in outbound AuthnRequest (#103)
- Return SamlMessage from binding receive() method (#105)
Bug Fixes
- Bump dependencies to address security vulnerabilities (#101)
- Use SHA256 as default signing algorithm instead of SHA1 (#104)
- Use SignatureXmlReader instead of abstract Signature in RoleDescriptor deserialization (#106)
-
4.6.126 Feb 2026 -
4.6.026 Feb 2026Nothing published for this version
-
4.5.106 Aug 2025Release notes
Open source →Bug Fixes
- RoleDescriptor::getAllKeyDescriptorsByUse() dont fail on null keyDescriptors (#91)
-
4.5.028 Feb 2025 -
4.4.024 Feb 2025Release notes
Open source →Features
- Can handle compressed or uncompressed post request
Code Refactoring
- Remove monolog/monolog dependency (#82)
- Remove Symfony dom-crawler & css-selector dependency (#84)
- Remove php-conventional-changelog dependency
Tests
- Remove LightSaml prefix
Bug Fixes
- Helper::validateWellFormedUriString() return false on null
-
4.3.224 Feb 2025 -
4.3.124 Feb 2025 -
4.3.023 Feb 2025Release notes
Open source →Code Refactoring
- Minimum requirement PHP 8.1 (#76)
- Use Schema::validate in XsdValidator (#77)
Bug Fixes
- Helper validateNotBefore return true when is on or after notBefore (#56)
-
4.2.211 Feb 2025 -
4.2.111 Feb 2025 -
v4.2.008 Feb 2024 -
v4.1.614 Apr 2023Release notes
Open source →Bug Fixes
- Static analysis requirements
- Always use
random_bytes()inHelper::generateRandomBytes()
Code Refactoring
- Use
bin2hex()inHelper::stringToHex()
Continuous Integrations
- Recover tests (#55)
-
v4.1.514 Apr 2023 -
v4.1.412 Jan 2023Release notes
Open source →Continuous Integrations
- Prevent running test on changelog update
- Prevent looping
Documentation
- Clean changelog
-
v4.1.312 Jan 2023 -
v4.1.230 Dec 2022Release notes
Open source →Bug Fixes
- Authenticate Github action user on workflow
- Add deprecation to usage of Serializable interface
Continuous Integrations
- Add authentication on push action
-
v4.1.121 Dec 2022 -
v4.1.021 Dec 2022 -
v4.0.906 Dec 2022 -
v4.0.826 Nov 2022Release notes
Open source →Continuous Integrations
- Add script in composer for test, phpcs & phpstan use in CI
-
v4.0.726 Nov 2022Release notes
Open source →Code Refactoring
- Remove .changelog and README.md from export
- Remove Makefile.
-
v4.0.626 Nov 2022 -
v4.0.526 Nov 2022 -
v4.0.426 Nov 2022 -
v4.0.326 Nov 2022 -
v4.0.225 Nov 2022Release notes
Open source →Continuous Integrations
- Automatic update of CHANGELOG on commit on master
Documentation
- Preparing CHANGELOG for automation
-
v4.0.105 Aug 2022Release notes
Open source →- Change package name in banner
- Add PHPStan to CI
- Clean code with PHPStan
- Clean code by removing unnecessary backslash
-
4.0.023 Jun 2022 -
3.0.329 May 2022 -
3.0.227 May 2022 -
3.0.127 May 2022 -
3.0.027 May 2022Release notes
Open source →- Move doc in dedicated repository
- Move resources files for tests in tests directory
- Drop deprecated files
- Move schemas in dedicated package
- Update composer metadata
- Update Readme
-
v2.3.427 May 2022Release notes
Open source →- Fix LightSaml\Model\XmlDSig\SignatureXmlReader::validate() exception catching
-
2.3.324 Mar 2022Release notes
Open source →- Fix return types in LightSaml\Context\AbstractContext & LightSaml\Meta\ParameterBag
-
2.3.202 Mar 2022 -
2.3.101 Mar 2022 -
2.3.009 Feb 2022 -
2.2.009 Feb 2022 -
2.1.007 Apr 2021 -
2.0.107 Apr 2021 -
2.0.020 Jan 2021 -
1.4.128 May 2018Nothing published for this version
-
1.4.004 Apr 2018Nothing published for this version
-
1.3.613 Mar 2018Nothing published for this version
-
1.3.505 Mar 2018Nothing published for this version
-
1.3.318 Dec 2017Nothing published for this version
-
1.3.226 Nov 2017Nothing published for this version
-
1.3.120 Jun 2017Nothing published for this version
-
1.3.020 Jun 2017Nothing published for this version
-
1.2.116 Jan 2017Nothing published for this version
-
1.2.018 Nov 2016Nothing published for this version
-
1.1.408 Nov 2016Nothing published for this version
-
1.1.304 Nov 2016Nothing published for this version
-
1.1.202 Nov 2016Nothing published for this version
-
1.1.101 Nov 2016Nothing published for this version
-
1.1.027 Oct 2016Nothing published for this version