PackageTrack
Sign in Get early access

sebastian/global-state

Snapshotting of global state

9.0.1 932M downloads/mo #51 most downloaded on composer sebastianbergmann/global-state

What this package is like to depend on

Last release 2 months ago

01 Jun 2026

Ships fairly regularly

a new release about every 5 months

Most releases are documented

notes for 22 of 33 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

33 releases · first in 2014

4 releases in the last 12 months

see the full history below

Release timeline

33 releases · Oct 2014 to Jun 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 33
  1. 9.0.1 01 Jun 2026
    Release notes

    Fixed

    • Constant names were not escaped when exporting them to code
    Open source →
    Release notes

    Fixed

    • Constant names were not escaped when exporting them to code
    Open source →
  2. 9.0.0 06 Feb 2026
    Release notes

    Removed

    • This component is no longer supported on PHP 8.3
    Open source →
    Release notes

    Removed

    • This component is no longer supported on PHP 8.3
    Open source →
  3. 8.0.3 01 Jun 2026
    Release notes

    Fixed

    • Constant names were not escaped when exporting them to code
    Open source →
    Release notes

    Fixed

    • Constant names were not escaped when exporting them to code
    Open source →
  4. 8.0.2 29 Aug 2025
    Release notes

    Changed

    • #39: Restore nullable variables in super-global arrays
    Open source →
    Release notes

    Changed

    • #39: Restore nullable variables in super-global arrays
    Open source →
  5. 8.0.1 28 Aug 2025
    Release notes

    Changed

    • #38: Improve performance of Snapshot::snapshotSuperGlobalArray()
    Open source →
    Release notes

    Changed

    • #38: Improve performance of Snapshot::snapshotSuperGlobalArray()
    Open source →
  6. 8.0.0 07 Feb 2025
    Release notes

    Removed

    • This component is no longer supported on PHP 8.2
    Open source →
    Release notes

    Removed

    • This component is no longer supported on PHP 8.2
    Open source →
  7. 7.0.2 03 Jul 2024
    Release notes

    Changed

    • This project now uses PHPStan instead of Psalm for static analysis
    Open source →
    Release notes

    Changed

    • This project now uses PHPStan instead of Psalm for static analysis
    Open source →
  8. 7.0.1 02 Mar 2024
    Release notes

    Changed

    • Do not use implicitly nullable parameters
    Open source →
  9. 7.0.0 02 Feb 2024
    Release notes

    Removed

    • This component is no longer supported on PHP 8.1
    Open source →
  10. 6.0.2 02 Mar 2024
    Release notes

    Changed

    • Do not use implicitly nullable parameters
    Open source →
  11. 6.0.1 19 Jul 2023
    Release notes

    Changed

    • Changed usage of ReflectionProperty::setValue() to be compatible with PHP 8.3
    Open source →
  12. 6.0.0 03 Feb 2023
    Release notes

    Changed

    • Renamed SebastianBergmann\GlobalState\ExcludeList::addStaticAttribute() to SebastianBergmann\GlobalState\ExcludeList::addStaticProperty()
    • Renamed SebastianBergmann\GlobalState\ExcludeList::isStaticAttributeExcluded() to SebastianBergmann\GlobalState\ExcludeList::isStaticPropertyExcluded()
    • Renamed SebastianBergmann\GlobalState\Restorer::restoreStaticAttributes() to SebastianBergmann\GlobalState\Restorer::restoreStaticProperties()
    • Renamed SebastianBergmann\GlobalState\Snapshot::staticAttributes() to SebastianBergmann\GlobalState\Snapshot::staticProperties()

    Removed

    • Removed SebastianBergmann\GlobalState\Restorer::restoreFunctions()
    • This component is no longer supported on PHP 7.3, PHP 7.4 and PHP 8.0
    Open source →
  13. 5.0.8 10 Aug 2025

    Nothing published for this version

  14. 5.0.7 02 Mar 2024

    Nothing published for this version

  15. 5.0.6 02 Aug 2023

    Nothing published for this version

  16. 5.0.5 14 Feb 2022
    Release notes

    Fixed

    • #34: Uninitialised typed static properties are not handled correctly
    Open source →
  17. 5.0.4 10 Feb 2022
    Release notes

    Fixed

    • The $includeTraits parameter of SebastianBergmann\GlobalState\Snapshot::__construct() is not respected
    Open source →
  18. 5.0.3 11 Jun 2021
    Release notes

    Changed

    • SebastianBergmann\GlobalState\CodeExporter::globalVariables() now generates code that is compatible with PHP 8.1
    Open source →
  19. 5.0.2 26 Oct 2020
    Release notes

    Fixed

    • SebastianBergmann\GlobalState\Exception now correctly extends \Throwable
    Open source →
  20. 5.0.1 28 Sep 2020
    Release notes

    Changed

    • Changed PHP version constraint in composer.json from ^7.3 || ^8.0 to >=7.3
    Open source →
  21. 5.0.0 07 Aug 2020
    Release notes

    Changed

    • The SebastianBergmann\GlobalState\Blacklist class has been renamed to SebastianBergmann\GlobalState\ExcludeList
    Open source →
  22. 4.0.0 07 Feb 2020
    Release notes

    Removed

    • This component is no longer supported on PHP 7.2
    Open source →
  23. 3.0.6 10 Aug 2025

    Nothing published for this version

  24. 3.0.5 02 Mar 2024

    Nothing published for this version

  25. 3.0.4 01 Mar 2024

    Nothing published for this version

  26. 3.0.3 02 Aug 2023

    Nothing published for this version

  27. 3.0.2 10 Feb 2022
    Release notes

    Fixed

    • The $includeTraits parameter of SebastianBergmann\GlobalState\Snapshot::__construct() is not respected
    Open source →
  28. 3.0.1 30 Nov 2020
    Release notes

    Changed

    • Changed PHP version constraint in composer.json from ^7.2 to >=7.2
    Open source →
  29. 3.0.0 01 Feb 2019
    Release notes

    Changed

    • Snapshot::canBeSerialized() now recursively checks arrays and object graphs for variables that cannot be serialized

    Removed

    • This component is no longer supported on PHP 7.0 and PHP 7.1
    Open source →
  30. 2.0.0 27 Apr 2017

    Nothing published for this version

  31. 1.1.1 12 Oct 2015

    Nothing published for this version

  32. 1.1.0 21 Jun 2015

    Nothing published for this version

  33. 1.0.0 06 Oct 2014

    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