Migrate alexkart/curl-builder to TypeScript

B Production-ready · version 1.1.0

alexkart/curl-builder 1.1.0 is a PHP package released under the MIT license and requires PHP >=7.3. Pext migrates it to TypeScript; on Node.js, 27 of 28 PHPUnit tests pass (96.4%), with 1 failure and no errors. It depends on 1 tracked package (weakest tier: Converted), and 1 tracked package depends on it.

PSR-7 compatible curl builder.

ConvertsYes
Runs on Node.jsYes
Runs on BunNot yet measured
TypeScript typesEmitted, errors

PHPUnit results on Node.js

96.4% of 28 tests passing (27 passed, 1 failed, 0 errors, 0 skipped). Verified 2026-10-26.

Where tests fail

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

Test classFailing tests
UnboxedPropertyBackDoorTest1

What “Production-ready” means

Passes at least 80% of its original tests and behaves like the PHP original on the paths that matter. Remaining gaps are tracked.

Requirements

PHP
>=7.3
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

Upstream

Version
1.1.0
License
MIT

Migrating a codebase that uses alexkart/curl-builder?

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