php-standard-library/promise
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/php-standard-library | 0.90 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,513 | 1,512 | 84 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| php-standard-library/async | 0.87 | 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. | 1 | 0 | 0 | 12K | 0 | 20.6 | 58.7 | MIT | 2 weeks ago | |
| react/promise | 0.86 | 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 | 1 | 45.9 | 56.4 | MIT | 7 months ago | |
| php-http/promise | 0.85 | 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,809 | 1,819 | 12 | 6M | 1 | 32.1 | 57.3 | MIT | 2 years 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,719 | 7,756 | 125 | 16M | 13 | 57.8 | 59.6 | MIT | 7 months ago |
How can I help you explore Laravel packages today?