Migrate guzzlehttp/promises to TypeScript

B Production-ready · version 3.0.2

guzzlehttp/promises 3.0.2 is a PHP package released under the MIT license and requires PHP ^7.4 || ^8.0. Pext migrates it to TypeScript; on Node.js, 187 of 220 PHPUnit tests pass (85.0%), with 19 failures and 14 errors. It has no tracked dependencies, and 6 tracked packages depend on it.

Guzzle promises library

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

PHPUnit results on Node.js

85.0% of 220 tests passing (187 passed, 19 failed, 14 errors, 0 skipped). Verified 2026-10-21.

Where tests fail

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

Test classFailing tests
UtilsTest19
CoroutineTest10
NonSerializableTraitTest4

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.4 || ^8.0
Extensions
None declared

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

Dependencies

No tracked dependencies.

Used by

More from guzzlehttp

Upstream

Version
3.0.2
License
MIT
Keywords
promise

Migrating a codebase that uses guzzlehttp/promises?

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