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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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,719 | 7,756 | 125 | 16M | 13 | 57.8 | 59.6 | MIT | 7 months ago | |
| php-standard-library/promise | 0.84 | Lightweight PHP promise implementation for composing and coordinating async-style workflows. Create, resolve, reject, and chain promises with then/catch-style handlers, useful for deferred results, task pipelines, and bridging callback-based APIs into a cleaner flow. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks 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. | 2,455 | 2,472 | 151 | 7M | 0 | 45.8 | 56.4 | MIT | 7 months ago | |
| php-http/psr7-integration-tests | 0.70 | Integration test suite to verify PSR-7 HTTP message implementations against the specification. Run the tests in your own PSR-7 package to ensure Request/Response/Stream/URI behavior matches the standard and stays compatible across libraries. | 40 | 41 | 22 | 2K | 1 | 23.4 | 28.7 | MIT | 4 months ago | |
| php-http/client-integration-tests | 0.68 | Integration test suite for PHP-HTTP clients. Helps verify that any HTTPlug/PSR-18 compatible client behaves correctly and consistently across common scenarios, making it easier to validate implementations and avoid regressions. | 16 | 17 | 9 | 526 | 1 | 24.4 | 24.5 | MIT | 4 months ago | |
| http-interop/http-factory-tests | 0.68 | PHPUnit test suite to verify PSR-17 HTTP factory implementations. Configure phpunit.xml with constants pointing to your Request/Response/ServerRequest/Stream/UploadedFile/Uri factory classes, then run the included integration tests from vendor. | 11 | 12 | 8 | 15K | 0 | 21.6 | 50.3 | MIT | 5 years ago |
How can I help you explore Laravel packages today?