internal/promise
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/promise | 0.90 | 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 | 2 months ago | |
| clue/framework-x | 0.87 | Framework X is a simple, fast micro framework for building reactive PHP web apps. Create routes, return PSR-7 responses, and run anywhere—behind a traditional web server or as a standalone server with ReactPHP under the hood. | 943 | 942 | 57 | 4K | 1 | 11.9 | 10.6 | MIT | 1 year ago | |
| php-standard-library/async | 0.86 | 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 | 2 | 0 | 37K | 0 | 18.0 | 63.3 | MIT | 2 months ago | |
| react/promise | 0.85 | 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 | 148 | 9M | 0 | 27.1 | 49.7 | MIT | 11 months 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 | 128 | 18M | 2 | 55.7 | 55.3 | MIT | 2 weeks ago | |
| php-http/promise | 0.83 | 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,807 | 1,818 | 12 | 6M | 1 | 12.1 | 49.0 | MIT | 2 years ago | |
| nunomaduro/pokio | 0.83 | Pokio is a simple async API for PHP: run closures concurrently via pcntl forks and await results. Uses FFI shared memory for fast parent/child communication. Built for internal tooling and performance work; not recommended for production use. | 765 | 764 | 39 | 310K | 0 | 20.4 | 40.4 | MIT | 3 months ago | |
| react/promise-stream | 0.81 | 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 |
How can I help you explore Laravel packages today?