guzzlehttp/promises
Guzzle Promises is a small PHP promise library that powers Guzzle's asynchronous requests. It provides promise chaining, synchronous waiting, cancellation, and helpers for coordinating groups of promises. Install it directly when you need promise composition without the full HTTP client.
State promise state checks as a replacement for IsIs because PHP 8.6 deprecates is as a class nameTReason of FulfilledPromise and Create::promiseFor() to neverTValue of RejectedPromise and Create::rejectionFor() to neverEachPromise abandoning its aggregate when the pending window drains unsettledEachPromise admitting new work after its aggregate has settledEachPromise abandoning its aggregate when the pending window drains unsettledEachPromise admitting new work after its aggregate has settledconcurrency config support to Utils::all() and Each::of()concurrency config support to Utils::settle()Utils::inspect() to return actual rejection reasonsUtils::inspect() to prefer the settled state over late wait function exceptionsEachPromiseIteratorAggregate inputs to collection helpers instead of treating them as a single valueUtils::all() handling of dynamically-added settled values and raw valuesUtils::all() rejecting generator inputsEachPromiseEachPromise instances now resolve when the task queue runs without wait()Utils::inspect() returning the internal reason array instead of the AggregateExceptioncall_user_func* with native callsSee change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
How can I help you explore Laravel packages today?