react/promise
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| internal/promise | 0.86 | 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-timer | 0.86 | Add timeouts and sleep delays to ReactPHP promises. Wrap any pending operation to auto-cancel and reject with a TimeoutException if it doesn’t settle in time, or pass through resolve/reject when it does. Lightweight, function-based API. | 341 | 344 | 17 | 2M | 1 | 6.8 | 53.2 | MIT | 2 years ago | |
| 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 | |
| react/async | 0.85 | Async utilities and fibers for ReactPHP. Provides async/await-style control flow plus Promise combinators (delay, parallel, series, waterfall, coroutine) to simplify sequencing and coordination of non-blocking, event-loop driven operations. | 222 | 223 | 18 | 242K | 2 | 5.9 | 43.7 | MIT | 2 years ago | |
| react/promise-stream | 0.84 | ReactPHP helper functions bridging promises and streams. Buffer an entire readable stream into a promise, get the first chunk, collect all chunks, or unwrap promises to readable/writable streams with proper error, cancel, and max-length handling. | 115 | 116 | 14 | 78K | 1 | 4.7 | 39.0 | MIT | 2 years ago | |
| php-standard-library/async | 0.84 | Fiber-based async primitives for PHP: structured concurrency with cooperative multitasking. Run tasks concurrently, manage lifecycles, cancellations, and scopes predictably. Part of PHP Standard Library; docs and guides at php-standard-library.dev. | 2 | 1 | 0 | 31K | 0 | 19.2 | 63.9 | MIT | 1 month ago | |
| guzzlehttp/promises | 0.83 | 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 | 1 week ago | |
| php-http/promise | 0.81 | 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. | 1,808 | 1,818 | 12 | 6M | 1 | 12.1 | 49.0 | MIT | 2 years ago |
How can I help you explore Laravel packages today?