Real PHP projects.
Ready to migrate.

These are well-known open source PHP libraries — from small utilities to large frameworks. Each one represents the kind of real-world codebase Pext is designed to handle.

composer/composer
PHP 7.2+ 28.1k

PHP dependency manager. Resolves, downloads, and autoloads packages across the PHP ecosystem.

File systemProcessesJSONStreamsClassesInterfaces
63.5k lines of code
348 PHP files
tests passed

Exercises file system, process execution, and HTTP at scale.

phpunit/phpunit
PHP 8.2+ 19.3k

PHP testing framework with assertions, mocking, data providers, and code coverage reporting.

AttributesReflectionGeneratorsClosuresAbstract classes
54.2k lines of code
412 PHP files
61.3% tests passed

A flagship target — transpiling PHPUnit itself would validate nearly every language construct Pext supports.

nesbot/Carbon
PHP 8.1+ 16.4k

PHP API extension for DateTime — a widely adopted date/time manipulation library in the Laravel ecosystem.

ClassesTraitsMagic methodsInterfacesClosuresDateTime
17.8k lines of code
83 PHP files
tests passed

Heavy use of traits and magic methods. Requires full DateTime runtime parity.

brick/math
PHP 8.0+ 1.6k

Arbitrary-precision arithmetic library built on BCMath. Immutable value objects for integers, decimals, and rationals.

ClassesInterfacesExceptionsBCMathImmutable objects
3.5k lines of code
31 PHP files
tests passed

No side effects, no I/O — pure computation. Ideal for showcasing runtime correctness.

sebastian/diff
PHP 8.1+ 8.2k

Computes and renders the difference between two strings or arrays using Myers and Longest Common Subsequence algorithms.

ClassesInterfacesIteratorsEnums
910 lines of code
14 PHP files
tests passed

Pure OOP with no web or extension dependencies — a clean, self-contained target.

sebastian/exporter
PHP 8.1+ 4.1k

Exports PHP variables for visualization. Used internally by PHPUnit for assertion output formatting.

ClassesReflectionRecursion detectionType handling
580 lines of code
9 PHP files
tests passed

Exercises type juggling and reflection — core Pext strengths.

Ready to break free from PHP?

Book a personalized demo and see how Pext can transform your codebase from legacy PHP to modern JavaScript, without rewriting a single line by hand.