C Runtime-assisted · version 5.7.0
nikic/php-parser 5.7.0 is a PHP package released under the BSD-3-Clause license and requires PHP >=7.4. Pext migrates it to TypeScript; on Node.js, 533 of 1,016 PHPUnit tests pass (52.4%), with 302 failures and 181 errors. It has no tracked dependencies, and 18 tracked packages depend on it.
A PHP parser written in PHP
52.4% of 1,016 tests passing (533 passed, 302 failed, 181 errors, 0 skipped). Verified 2026-10-26.
The 5 test classes with the most failing tests on Node.js:
| Test class | Failing tests |
|---|---|
| EmulativeTest | 273 |
| ConstExprEvaluatorTest | 57 |
| Php7Test | 54 |
| Php8Test | 54 |
| LexerTest | 10 |
The remaining 35 failing tests are spread across other classes.
Runs and passes most of its tests, with the Pext runtime doing visible work to preserve PHP behaviour.
As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.
No tracked dependencies.
See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.