Migrate laminas/laminas-server to TypeScript

C Runtime-assisted · version 2.19.0

laminas/laminas-server 2.19.0 is a PHP package released under the BSD-3-Clause license and requires PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0. Pext migrates it to TypeScript; on Node.js, 96 of 141 PHPUnit tests pass (68.0%), with no failures and 45 errors. It depends on 2 tracked packages (weakest tier: Runtime-assisted), and 3 tracked packages depend on it.

Create Reflection-based RPC servers

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

PHPUnit results on Node.js

68.0% of 141 tests passing (96 passed, 0 failed, 45 errors, 0 skipped). Verified 2026-10-21.

Where tests fail

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

Test classFailing tests
ReflectionClassTest15
ReflectionFunctionTest10
ReflectionTest6
ReflectionMethodTest5
ReflectionParameterTest5

The remaining 4 failing tests are spread across other classes.

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.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: C Runtime-assisted

Used by

More from laminas

Upstream

Version
2.19.0
License
BSD-3-Clause
Repository
https://github.com/laminas/laminas-server
Homepage
https://laminas.dev
Keywords
laminas, server

Migrating a codebase that uses laminas/laminas-server?

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