PackageTrack
Sign in Get early access

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 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 72
  1. 5.1.0 09 Jul 2026
    Release notes

    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

    Open source →
    Release notes

    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)
    Open source →
  2. 5.0.1 29 Jun 2026
    Release notes

    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

    Open source →
    Release notes

    Security

    • Reject XML Signature Wrapping (XSW) attacks in SignatureXmlReader (#113)
    Open source →
  3. 5.0.0 27 Jun 2026
    Release notes

    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

    Open source →
    Release notes

    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
    Open source →
  4. 4.7.0 26 Jun 2026
    Release notes

    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

    Open source →
    Release notes

    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)
    Open source →
  5. 4.6.1 26 Feb 2026
    Release notes

    Bug Fixes

    • Update robrichards/xmlseclibs to 3.1.4
    Open source →
  6. 4.6.0 26 Feb 2026

    Nothing published for this version

  7. 4.5.1 06 Aug 2025
    Release notes

    Bug Fixes

    • RoleDescriptor::getAllKeyDescriptorsByUse() dont fail on null keyDescriptors (#91)
    Open source →
  8. 4.5.0 28 Feb 2025
    Release notes

    Styles

    • Use PHP CS Fixer as linter (#87)
    Open source →
  9. 4.4.0 24 Feb 2025
    Release notes

    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
    Open source →
  10. 4.3.2 24 Feb 2025
    Release notes

    Code Refactoring

    • Mark Pimple Bridge classes as deprecated
    Open source →
  11. 4.3.1 24 Feb 2025
    Release notes

    Bug Fixes

    • Can use Symfony v7+
    Open source →
  12. 4.3.0 23 Feb 2025
    Release notes

    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)
    Open source →
  13. 4.2.2 11 Feb 2025
    Release notes

    Documentation

    • Change cookbook URL
    Open source →
  14. 4.2.1 11 Feb 2025
    Release notes

    Bug Fixes

    • Remove implicitly nullable parameter declarations (#75)
    Open source →
  15. v4.2.0 08 Feb 2024
    Release notes

    Features

    • Supports Symfony 7.x
    Open source →
  16. v4.1.6 14 Apr 2023
    Release notes

    Bug Fixes

    • Static analysis requirements
    • Always use random_bytes() in Helper::generateRandomBytes()

    Code Refactoring

    • Use bin2hex() in Helper::stringToHex()

    Continuous Integrations

    • Recover tests (#55)
    Open source →
  17. v4.1.5 14 Apr 2023
    Release notes

    Bug Fixes

    • Php 8.1 deprecation notices
    Open source →
  18. v4.1.4 12 Jan 2023
    Release notes

    Continuous Integrations

    • Prevent running test on changelog update
    • Prevent looping

    Documentation

    • Clean changelog
    Open source →
  19. v4.1.3 12 Jan 2023
    Release notes

    Documentation

    • Update document URL
    • Clean changelog
    Open source →
  20. v4.1.2 30 Dec 2022
    Release notes

    Bug Fixes

    • Authenticate Github action user on workflow
    • Add deprecation to usage of Serializable interface

    Continuous Integrations

    • Add authentication on push action
    Open source →
  21. v4.1.1 21 Dec 2022
    Release notes

    Code Refactoring

    • Compliant with Symfony 6 session recommendations
    Open source →
  22. v4.1.0 21 Dec 2022
    Release notes

    Features

    • Allow Symfony 6 and Monolog 3
    Open source →
  23. v4.0.9 06 Dec 2022
    Release notes

    Documentation

    • Change documentation URL
    Open source →
  24. v4.0.8 26 Nov 2022
    Release notes

    Continuous Integrations

    • Add script in composer for test, phpcs & phpstan use in CI
    Open source →
  25. v4.0.7 26 Nov 2022
    Release notes

    Code Refactoring

    • Remove .changelog and README.md from export
    • Remove Makefile.
    Open source →
  26. v4.0.6 26 Nov 2022
    Release notes

    Code Refactoring

    • Development files won’t be added to git archive
    Open source →
  27. v4.0.5 26 Nov 2022
    Release notes

    Documentation

    • Move assets to .github directory
    Open source →
  28. v4.0.4 26 Nov 2022
    Release notes

    Code Refactoring

    • Introduce PSR-4 autoloading
    Open source →
  29. v4.0.3 26 Nov 2022
    Release notes

    Documentation

    • Add LICENSE document.
    Open source →
  30. v4.0.2 25 Nov 2022
    Release notes

    Continuous Integrations

    • Automatic update of CHANGELOG on commit on master

    Documentation

    • Preparing CHANGELOG for automation
    Open source →
  31. v4.0.1 05 Aug 2022
    Release notes
    • Change package name in banner
    • Add PHPStan to CI
    • Clean code with PHPStan
    • Clean code by removing unnecessary backslash
    Open source →
  32. 4.0.0 23 Jun 2022
    Release notes
    • Replace symfony/event-dispatcher dependency by psr/event-dispatcher
    Open source →
  33. 3.0.3 29 May 2022
    Release notes
    • Change package description
    Open source →
  34. 3.0.2 27 May 2022
    Release notes
    • Fix composer documentation settings
    Open source →
  35. 3.0.1 27 May 2022
    Release notes
    • Fix Documentation
    Open source →
  36. 3.0.0 27 May 2022
    Release notes
    • 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
    Open source →
  37. v2.3.4 27 May 2022
    Release notes
    • Fix LightSaml\Model\XmlDSig\SignatureXmlReader::validate() exception catching
    Open source →
  38. 2.3.3 24 Mar 2022
    Release notes
    • Fix return types in LightSaml\Context\AbstractContext & LightSaml\Meta\ParameterBag
    Open source →
  39. 2.3.2 02 Mar 2022
    Release notes
    • Fix param types in LightSaml\Model\Assertion\Conditions class
    Open source →
  40. 2.3.1 01 Mar 2022
    Release notes
    • Fix input id in SamlPostResponse
    Open source →
  41. 2.3.0 09 Feb 2022
    Release notes
    • Update to symfony packages 6.0
    Open source →
  42. 2.2.0 09 Feb 2022
    Release notes
    • Run tests by GitHub's actions
    Open source →
  43. 2.1.0 07 Apr 2021
    Release notes
    • Update PHPUnit 8.4+
    Open source →
  44. 2.0.1 07 Apr 2021
    Release notes
    • Clean code with php-cs-fixer
    Open source →
  45. 2.0.0 20 Jan 2021
    Release notes
    • PHP 7.2+ & Symfony 5
    Open source →
  46. 1.4.1 28 May 2018

    Nothing published for this version

  47. 1.4.0 04 Apr 2018

    Nothing published for this version

  48. 1.3.6 13 Mar 2018

    Nothing published for this version

  49. 1.3.5 05 Mar 2018

    Nothing published for this version

  50. 1.3.3 18 Dec 2017

    Nothing published for this version

  51. 1.3.2 26 Nov 2017

    Nothing published for this version

  52. 1.3.1 20 Jun 2017

    Nothing published for this version

  53. 1.3.0 20 Jun 2017

    Nothing published for this version

  54. 1.2.1 16 Jan 2017

    Nothing published for this version

  55. 1.2.0 18 Nov 2016

    Nothing published for this version

  56. 1.1.4 08 Nov 2016

    Nothing published for this version

  57. 1.1.3 04 Nov 2016

    Nothing published for this version

  58. 1.1.2 02 Nov 2016

    Nothing published for this version

  59. 1.1.1 01 Nov 2016

    Nothing published for this version

  60. 1.1.0 27 Oct 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive