Migrate sebastian/object-enumerator to TypeScript

B Production-ready · version 7.0.0

sebastian/object-enumerator 7.0.0 is a PHP package released under the BSD-3-Clause license and requires PHP >=8.3. Pext migrates it to TypeScript; on Node.js, 8 of 8 PHPUnit tests pass (100%), with no failures and no errors. It depends on 2 tracked packages (weakest tier: Runtime-assisted), and 1 tracked package depends on it.

Traverses array structures and object graphs to enumerate all referenced objects

ConvertsYes
Runs on Node.jsYes
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

100% of 8 tests passing (8 passed, 0 failed, 0 errors, 0 skipped). Verified 2026-10-26.

Where tests fail

Every executed test passes.

What “Production-ready” means

Passes at least 80% of its original tests and behaves like the PHP original on the paths that matter. Remaining gaps are tracked.

Requirements

PHP
>=8.3
Extensions
None declared

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

Weakest dependency: C Runtime-assisted

Used by

More from sebastian

Upstream

Version
7.0.0
License
BSD-3-Clause
Homepage
https://github.com/sebastianbergmann/object-enumerator/

Migrating a codebase that uses sebastian/object-enumerator?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.