php-http/promise
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.
then returns another promise, there seems no way to properly document this.wait() and then()'s onRejected callablePromise::thenHow can I help you explore Laravel packages today?