sebastian/global-state

Snapshotting of global state

Maintainers

👁 sebastian

Package info

github.com/sebastianbergmann/global-state

Homepage

pkg:composer/sebastian/global-state

Statistics

Installs: 898 465 215

Dependents: 32

Suggesters: 0

Stars: 6 605

Open Issues: 3

9.0.1 2026-06-01 15:11 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause ba68ba79da690cf7eddefd3ce5b78b20b9ba9945

  • Sebastian Bergmann <sebastian.woop@phpunit.de>

global state


README

👁 Latest Stable Version
👁 CI Status
👁 codecov

sebastian/global-state

Snapshotting of global state, factored out of PHPUnit into a stand-alone component.

Installation

You can add this library as a local, per-project dependency to your project using Composer:

composer require sebastian/global-state

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

composer require --dev sebastian/global-state