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.
Promise used for asynchronous HTTP requests.
Note: This will eventually be removed/deprecated and replaced with the upcoming Promise PSR.
Via Composer
$ composer require php-http/promise
Please see the official documentation.
$ composer test
Please see our contributing guide.
If you discover any security related issues, please contact us at security@php-http.org.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?