PHPackages                             php5friends/global-state11 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. php5friends/global-state11

ActiveLibrary

php5friends/global-state11
==========================

Snapshotting of global state

5.0.3(4y ago)0129.4k↓20.4%11BSD-3-ClausePHPPHP &gt;=7.3

Since Oct 6Pushed 4y agoCompare

[ Source](https://github.com/php5friends/global-state11)[ Packagist](https://packagist.org/packages/php5friends/global-state11)[ Docs](http://www.github.com/sebastianbergmann/global-state)[ RSS](/packages/php5friends-global-state11/feed)WikiDiscussions 1.1 Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (16)Used By (1)

GlobalState
===========

[](#globalstate)

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

[![Build Status](https://camo.githubusercontent.com/f733c7af863036952134749d5f47f2ea9f6a2f21e28cdb9a705f64c3ded96bff/68747470733a2f2f7472617669732d63692e6f72672f73656261737469616e626572676d616e6e2f676c6f62616c2d73746174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sebastianbergmann/global-state)

Installation
------------

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
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

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~197 days

Recently: every ~79 days

Total

14

Last Release

1681d ago

Major Versions

1.1.1 → 2.0.02017-04-27

2.0.0 → 3.0.02019-02-01

3.0.0 → 4.0.02020-02-07

4.0.0 → 5.0.02020-08-07

3.0.x-dev → 5.0.32021-06-11

PHP version history (7 changes)1.0.0PHP &gt;=5.3.3

2.0.0PHP ^7.0

3.0.0PHP ^7.2

4.0.0PHP ^7.3

5.0.0PHP ^7.3 || ^8.0

5.0.1PHP &gt;=7.3

3.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2faa579847aa7f6045f80f897a15978403c8a3e0c1198f3d1ff72e32989309b?d=identicon)[nanasess](/maintainers/nanasess)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (26 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (7 commits)")[![nanasess](https://avatars.githubusercontent.com/u/815715?v=4)](https://github.com/nanasess "nanasess (2 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (1 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (1 commits)")[![mrclay](https://avatars.githubusercontent.com/u/170687?v=4)](https://github.com/mrclay "mrclay (1 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (1 commits)")

---

Tags

global state

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php5friends-global-state11/health.svg)

```
[![Health](https://phpackages.com/badges/php5friends-global-state11/health.svg)](https://phpackages.com/packages/php5friends-global-state11)
```

###  Alternatives

[sebastian/global-state

Snapshotting of global state

6.6k861.1M42](/packages/sebastian-global-state)[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[sebastian/object-enumerator

Traverses array structures and object graphs to enumerate all referenced objects

6.5k805.2M30](/packages/sebastian-object-enumerator)[sebastian/exporter

Provides the functionality to export PHP variables for visualization

6.8k882.7M75](/packages/sebastian-exporter)[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[sebastian/object-graph

Provides useful operations on PHP object graphs

45831.1k](/packages/sebastian-object-graph)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
