Migrate laminas/laminas-httphandlerrunner to TypeScript

C Runtime-assisted · version 2.13.0

laminas/laminas-httphandlerrunner 2.13.0 is a PHP package released under the BSD-3-Clause license and requires PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0. Pext migrates it to TypeScript; on Node.js, 102 of 163 PHPUnit tests pass (62.5%), with no failures and 61 errors. It depends on 2 tracked packages (weakest tier: Converted), and no tracked package depends on it.

Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.

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

PHPUnit results on Node.js

62.5% of 163 tests passing (102 passed, 0 failed, 61 errors, 0 skipped). Verified 2026-10-21.

Where tests fail

The 2 test classes with the most failing tests on Node.js:

Test classFailing tests
EmitterStackTest37
SapiStreamEmitterTest24

What “Runtime-assisted” means

Runs and passes most of its tests, with the Pext runtime doing visible work to preserve PHP behaviour.

Requirements

PHP
~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
Extensions
None declared

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

Dependencies

Weakest dependency: D Converted

Used by

No tracked package depends on laminas/laminas-httphandlerrunner.

More from laminas

Upstream

Version
2.13.0
License
BSD-3-Clause
Repository
https://github.com/laminas/laminas-httphandlerrunner
Homepage
https://laminas.dev
Keywords
laminas, components, mezzio, psr-7, psr-15

Migrating a codebase that uses laminas/laminas-httphandlerrunner?

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