php-http/promise
Common Promise implementation for PHP-HTTP clients. Provides a lightweight, interoperable way to handle async HTTP responses with then/catch chaining, wait/cancel support, and consistent behavior across multiple HTTP client adapters and PSR-7 message workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/promise | 0.85 | Lightweight Promise implementation for PHP with a simple, standards-inspired API. Create, resolve, reject, and chain async-style operations, handle errors, and compose results with familiar then/catch patterns—ideal for libraries that need non-blocking workflows. | 1 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| guzzlehttp/promises | 0.84 | Iterative promise chaining for infinite async operations with Guzzle HTTP. Supports Promises/A+ compliance, coroutine-style await via Coroutine::of(), and synchronous wait() method. Cancel promises mid-execution and handle rejection/fulfillment callbacks cleanly. Works with any object with a then()... | 7,724 | 7,757 | 126 | 17M | 1 | 54.4 | 54.1 | MIT | 2 weeks ago | |
| internal/promise | 0.84 | Lightweight Promises/A implementation for PHP (fork of reactphp/promise). PHP 8.1+ compatible with strict types and improved type annotations. Drop-in replacement for react/promise v2/v3 with reusable rejection handling and safer defaults. | 53 | 53 | 1 | 154K | 0 | 9.1 | 51.0 | MIT | 7 months ago | |
| react/promise | 0.84 | Lightweight Promises/A implementation for PHP. Use Deferred/Promise to resolve or reject async results, chain with then/catch/finally, cancel when supported, and combine promises with helpers like resolve/reject, all, race, and any. | 0 | 2,470 | — | 8M | — | 30.2 | 50.5 | — | — |
How can I help you explore Laravel packages today?