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 | 30K | 0 | 20.1 | 64.3 | MIT | 1 month ago | |
| guzzlehttp/promises | 0.84 | Promises/A+ implementation for PHP with iterative, stack-safe chaining. Provides synchronous wait(), cancellation, interop with any thenable, and coroutine-style async/await via Coroutine::of(). Includes Promise, FulfilledPromise, and RejectedPromise. | 7,716 | 7,749 | 126 | 18M | 2 | 55.4 | 54.3 | 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. | 54 | 54 | 1 | 158K | 0 | 6.7 | 50.2 | MIT | 8 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. | 2,456 | 2,475 | 149 | 9M | 0 | 27.3 | 49.8 | MIT | 11 months ago | |
| amphp/http | 0.70 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 103 | 103 | 10 | 973K | 1 | 8.0 | 55.2 | MIT | 1 year ago | |
| react/http | 0.68 | Event-driven, streaming HTTP client and server for ReactPHP. Send many concurrent async HTTP/HTTPS requests, handle redirects/timeouts/auth, and stream request/response bodies. Build plain HTTP or secure HTTPS servers on ReactPHP Socket and EventLoop. | 780 | 790 | 165 | 445K | 15 | 23.3 | 46.4 | MIT | 1 year ago | |
| php-http/httplug | 0.68 | HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations. | 2,595 | 2,604 | 40 | 6M | 1 | 18.3 | 46.8 | MIT | 1 year ago | |
| amphp/http-server | 0.68 | Non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP 8.1+ built on Revolt and Amp (fibers). Includes TLS, middleware, gzip, and integrations for routing, static files, WebSockets, sessions, and more. | 1,325 | 1,325 | 102 | 919K | 11 | 41.5 | 49.6 | MIT | 3 weeks ago | |
| amphp/websocket-server | 0.68 | Async WebSocket server for PHP built on Amp’s event-driven concurrency. Handles upgrades, connections, message streaming, backpressure and graceful shutdown, making it easy to build real-time apps like chat, dashboards and live notifications. | 125 | 125 | 17 | 6K | 2 | 5.1 | 23.4 | MIT | 2 years ago | |
| pact-foundation/pact-php | 0.63 | PHP implementation of the Pact consumer-driven contract testing framework. Define contracts between services, run provider verification, and integrate with PHPUnit/CI to prevent breaking API changes. Supports HTTP interactions, mock servers, and Pact Broker workflows. | 300 | 300 | 89 | 82K | 1 | 30.4 | 42.0 | Apache-2.0 | 2 months ago | |
| propel/propel1 | 0.61 | — | 835 | 844 | 408 | 6K | 209 | 37.3 | 37.5 | MIT | 6 years ago | |
| phpstan/phpstan | 0.61 | PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. | 14,036 | 14,104 | 954 | 9M | 1,060 | 94.2 | 72.3 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?