Migrate laminas/laminas-xml to TypeScript

D Converted · version 1.8.0

laminas/laminas-xml 1.8.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, 2 of 13 PHPUnit tests pass (15.3%), with 1 failure and 10 errors. It has no tracked dependencies, and 2 tracked packages depend on it.

Utility library for XML usage, best practices, and security in PHP

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

PHPUnit results on Node.js

15.3% of 13 tests passing (2 passed, 1 failed, 10 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
SecurityTest7
MultibyteTest4

What “Converted” means

Converts cleanly to TypeScript. Test verification is pending or still climbing.

Requirements

PHP
~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
Extensions
domsimplexml

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

Dependencies

No tracked dependencies.

Used by

More from laminas

Upstream

Version
1.8.0
License
BSD-3-Clause
Repository
https://github.com/laminas/laminas-xml
Homepage
https://laminas.dev
Keywords
laminas, xml, security

Migrating a codebase that uses laminas/laminas-xml?

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