PHPackages                             sebastian/object-enumerator - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. sebastian/object-enumerator

ActiveLibrary[Testing &amp; Quality](/categories/testing)

sebastian/object-enumerator
===========================

Traverses array structures and object graphs to enumerate all referenced objects

8.0.0(3mo ago)6.5k805.2M—3.8%9[1 issues](https://github.com/sebastianbergmann/object-enumerator/issues)[2 PRs](https://github.com/sebastianbergmann/object-enumerator/pulls)20BSD-3-ClausePHPPHP &gt;=8.4CI passing

Since Jan 28Pushed today4 watchersCompare

[ Source](https://github.com/sebastianbergmann/object-enumerator)[ Packagist](https://packagist.org/packages/sebastian/object-enumerator)[ Docs](https://github.com/sebastianbergmann/object-enumerator/)[ GitHub Sponsors](https://github.com/sebastianbergmann)[ Fund](https://liberapay.com/sebastianbergmann)[ RSS](/packages/sebastian-object-enumerator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (26)Used By (20)

[![Latest Stable Version](https://camo.githubusercontent.com/702eb71773f04895e94079627d180cfa633ef6b01840f6ce0e837d1f471bae83/68747470733a2f2f706f7365722e707567782e6f72672f73656261737469616e2f6f626a6563742d656e756d657261746f722f76)](https://packagist.org/packages/sebastian/object-enumerator)[![CI Status](https://github.com/sebastianbergmann/object-enumerator/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/object-enumerator/actions)[![codecov](https://camo.githubusercontent.com/c5bb3a409bf1a6ca8f443d0421b13df843f569a26ac26bd11f507648da0a0da1/68747470733a2f2f636f6465636f762e696f2f67682f73656261737469616e626572676d616e6e2f6f626a6563742d656e756d657261746f722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/sebastianbergmann/object-enumerator)

sebastian/object-enumerator
===========================

[](#sebastianobject-enumerator)

Traverses array structures and object graphs to enumerate all referenced objects.

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

[](#installation)

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

```
composer require sebastian/object-enumerator

```

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/object-enumerator

```

###  Health Score

80

↑

ExcellentBetter than 100% of packages

Maintenance92

Actively maintained with recent releases

Popularity82

Widely adopted with strong download metrics

Community32

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95.4% 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 ~152 days

Recently: every ~91 days

Total

25

Last Release

102d ago

Major Versions

3.0.x-dev → 6.0.12024-07-03

6.0.1 → 7.0.02025-02-07

5.0.x-dev → 6.0.x-dev2025-09-26

6.0.x-dev → 7.0.x-dev2025-12-31

7.0.x-dev → 8.0.02026-02-06

PHP version history (11 changes)1.0.0PHP &gt;=5.6

3.0.0PHP ^7.0

2.0.x-devPHP ^5.6 || ^7.0

4.0.0PHP ^7.3

4.0.2PHP ^7.3 || ^8.0

4.0.3PHP &gt;=7.3

3.0.4PHP &gt;=7.0

5.0.0PHP &gt;=8.1

6.0.0PHP &gt;=8.2

7.0.0PHP &gt;=8.3

8.0.0PHP &gt;=8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1089?v=4)[Sebastian Probst Eide](/maintainers/sebastian)[@sebastian](https://github.com/sebastian)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (370 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (9 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (3 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (1 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (1 commits)")[![lstrojny](https://avatars.githubusercontent.com/u/79707?v=4)](https://github.com/lstrojny "lstrojny (1 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (1 commits)")[![bwoebi](https://avatars.githubusercontent.com/u/3154871?v=4)](https://github.com/bwoebi "bwoebi (1 commits)")[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sebastian-object-enumerator/health.svg)

```
[![Health](https://phpackages.com/badges/sebastian-object-enumerator/health.svg)](https://phpackages.com/packages/sebastian-object-enumerator)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

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

Snapshotting of global state

6.6k861.1M42](/packages/sebastian-global-state)[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)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)

PHPackages © 2026

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