NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #580 most downloaded on Packagist
PHP SAML Toolkit
Latest stable
4.4.1
Last release 17 days ago
07 Nov 2026
Release timing varies
gaps range from 2 weeks to 1.9 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
63 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
4.4.0 was released with wrong target (master branch, so removing it). Im releasing 4.4.1 as 4.4.0 not gonna be avaiable on Packagist.
Update xmlseclibs requirement to ^4.0.1. See GHSA-m5mw-mr39-66vp and other security vulnerabilities discovered on August.
security.allowRSA15KeyTransport setting (default false) to opt in to RSA-1.5 key transport for legacy IdPs with xmlseclibs 4security.allowCBCEncryption setting (default true) to reject CBC data encryption (only AES-GCM is accepted) on received EncryptedAssertion and EncryptedID elementswantMessagesSigned, verify the signature of a Response with an EncryptedAssertion before decrypting it (if it is not signed or the signature is invalid the assertion is not decrypted and isValid() reports the cause). The EncryptedID of a LogoutRequest is decrypted after its signature is verifiedYour coding agent can read these notes before it upgrades. Set up the MCP server →
Updates xmlseclibs to 3.1.5 due CVE-2026-32313
Update xmlseclibs version requirement to 3.1.4 due CVE-2025-66475
PHP 8.4 Compatibility via #600 and #607 .
LogoutRequest and the LogoutResponse object to separate functions
Add pipe through for the $spValidationOnly setting in the Auth class.
$spValidationOnly setting in the Auth class.If null param are provided to trim or preg_match, when PHP 8.1 has deprecation errors enabled, php-saml will raise errors.
Supports PHP 8.X, drop support PHP < 7.3
Mitigate the xmlseclibs advisories published in August 2026 ( GHSA-7mf5-fjj8-mvjc , GHSA-39hg-wfcm-v4wv , GHSA-7h47-29x2-r2gc , GHSA-m5mw-mr39-66vp ,
wantMessagesSigned, verify the signature of a Response with an EncryptedAssertion before decrypting it (if it is not signed or the signature is invalid the assertion is not decrypted and isValid() reports the cause). The EncryptedID of a LogoutRequest is decrypted after its signature is verifiedUpdate xmlseclibs version requirement to 3.1.5 due CVE-2026-32313
Update xmlseclibs version requirement to 3.1.4 due CVE-2025-66475
Security:
Fix buildWithBaseURLPath. See #581
Make Saml2\Auth can accept a param $spValidationOnly
* #467 Fix bug on getSelfRoutedURLNoQuery method
Add AES128_GCM encryption on generateNameId method. New setting parameter encryption_algorithm. If you set a encryption method different than AES128_C
3.5.0 packagist/github release due a confusion were using the master (2.X branch). I'm releasing 3.5.1 to fix this issue and go back to 3.X branch
Add support for SMARTCARD_PKI and RSA_TOKEN Auth Contexts
Add setSchemasPath to Auth class and fix backward compatibility
Support rejecting unsolicited SAMLResponses.
Update xmlseclibs to 3.0.4 (CVE-2019-3465)
Set true as the default value for strict setting
Add missed nameIdValueReq parameter to buildAuthnRequest method
Add support for Subjects on AuthNRequests by the new parameter nameIdValueReq
Force to use at least xmlseclibs 3.0.3 for security reasons
Security improvement suggested by Nils Engelbertz to prevent DDOS by expansion of internally defined entities (XEE)
Compatible with PHP 5.X and 7.X.
Do not raise the E_DEPRECATED notices of mcrypt (deprecated as of PHP 7.1), used by the bundled xmlseclibs for the block ciphers: error handlers that…
The version 2.21.1 was released with the wrong version.json file and missed Changelog. The 2.21.2 version has the same code than 2.21.2 but set right
The version 2.21.1 was released with the wrong version.json file and missed Changelog.
The 2.21.2 version has the same code than 2.21.2 but set right version and update Changelog
Fix xmlseclibs vulnerability CVE-2025-66475
Security:
Fix buildWithBaseURLPath. See #581
Make Saml2\Auth can accept a param $spValidationOnly
* #467 Fix bug on getSelfRoutedURLNoQuery method
Add support for SMARTCARD_PKI and RSA_TOKEN Auth Contexts
Add setSchemasPath to Auth class and fix backward compatibility
Support rejecting unsolicited SAMLResponses.
Update xmlseclibs to 3.0.4 (CVE-2019-3465)
Set true as the default value for strict setting
Adjusted acs endpoint to extract NameQualifier and SPNameQualifier from SAMLResponse. Adjusted single logout service to provide NameQualifier and SPNa
Security improvement suggested by Nils Engelbertz to prevent DDOS by expansion of internally defined entities (XEE)
Add parameter to the decryptElement method to make optional the formatting
Update xmlseclibs with some fixes.
Changelog v.2.13.0:
Improve Time management. Use DateTime/DateTimeZone classes.
Changelog v.2.12.0:
Improve Time management. Use DateTime/DateTimeZone classes.
Escape error messages in debug mode
Improve phpdoc
Add an extra filter to the url to be used on redirection
#242 Document that SHA-1 must not be used
#250 Fixed issue with IdPMetadataParser only keeping 1 certificate when multiple certificates of a single type were provided.
#263 Fix incompatibility with ADFS on SLO. When on php saml settings NameID Format is set as unspecified but the SAMLResponse has no NameID Format, no NameID Format should be specified on LogoutRequest.
Improve logout documentation on Readme.
Fix IdPMetadataParser. The SingleLogoutService retrieved method was wrong
Be able to register future SP x509cert on the settings and publish it on SP metadata
Changelog v.2.10.6:
Be able to get at the auth object the last processed ID
Changelog v.2.10.5:
Security update for signature validation on LogoutRequest/LogoutResponse (read more)
Changelog v.2.10.4:
Implement a more specific exception class for handling some validation errors
Changelog v.2.10.3:
Fix another issue on Assertion Signature validation when the assertion contains no namespace, container has saml2 namespace and it was encrypted
Fix error message on SignMetadata process
Changelog v.2.10.1:
This version includes a security patch that contains extra validations that will prevent signature wrapping attacks and other security improvements.
This version includes a security patch that contains extra validations that will prevent signature wrapping attacks and other security improvements.
Changelog v.2.10.0:
134 PHP7 production settings compiles out assert(), throw an exception explicitly
Change the decrypt assertion process.
This 2.9.0 version:
Make NameIDPolicy of AuthNRequest optional
This 2.8.0 version:
Fix PHP 7 error (used continue outside a loop/switch).
This 2.7.0 version:
Fix bug on cacheDuration of the Metadata XML generated.
This 2.6.1 version:
Set NAMEID_UNSPECIFIED as default NameIDFormat to prevent conflicts with IdPs that don't support NAMEID_PERSISTENT.
This 2.6.0 version:
Do accesible the ID of the object Logout Request (id attribute)
This 2.5.0 version:
Fix wrong element order in generated metadata
This 2.4.0 version:
One column per quarter.