windwalker/promise
Windwalker Promise is a PHP library for asynchronous-style control flow, offering promises, deferreds, and helpers to chain callbacks, handle resolution and rejection, and orchestrate non-blocking tasks more cleanly in PHP applications.
Windwalker Promise is a lightweight, Promise/A+–inspired asynchronous promise library for PHP. It lets you represent eventual results and compose non-blocking workflows with then(), catch() and finally(), so callbacks chain cleanly instead of nesting into callback hell. Promises can be resolved or rejected synchronously or deferred through a configurable queue, making it easy to integrate with event loops or asynchronous runtimes.
resolve(), reject(), all() and race() helpersHow can I help you explore Laravel packages today?