php-http/httplug
HTTPlug, the HTTP client abstraction for PHP
2.4.1
338M downloads/mo
#192 most downloaded on composer
php-http/httplug
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.2 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
14 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
14 releases · Jun 2015 to Sep 2024Releases
latest 14-
2.4.123 Sep 2024 -
2.4.014 Apr 2023Release notes
Open source →- Allow
psr/http-messagev2 in addition to v1 - Deprecate
Http\Client\HttpClient, use PSR-18 instead
Release notes
Open source →Changed
- Allow
psr/http-messagev2 in addition to v1 - Deprecate
Http\Client\HttpClient, use PSR-18 instead
- Allow
-
2.3.021 Feb 2022Release notes
Open source →- Enabled the
$onRejectedcallback ofHttpRejectedPromiseto return a promise for implementing a retry
mechanism #168
Release notes
Open source →Changed
- Enabled the
$onRejectedcallback ofHttpRejectedPromiseto return a promise for implementing a retry mechanism #168
- Enabled the
-
2.2.013 Jul 2020 -
2.1.027 Dec 2019Release notes
Open source →Changed
Http\Client\Exception\NetworkExceptionno longer extendsHttp\Client\Exception\RequestException, in accordance with PSR-18
Release notes
Open source →Changed
Http\Client\Exception\NetworkExceptionno longer extendsHttp\Client\Exception\RequestException, in accordance with PSR-18
-
v2.0.031 Oct 2018Release notes
Open source →This version is no BC break for consumers using HTTPlug. However, HTTP clients that implement HTTPlug need to adjust because we add return type declarations.
Added
- Support for PSR-18 (HTTP client).
Changed
- BC Break:
HttpClient::sendRequest(RequestInterface $request)has a return type annotation. The new signature isHttpClient::sendRequest(RequestInterface $request): ResponseInterface. - BC Break:
RequestException::getRequest()has a return type annotation. The new signature isRequestException::getRequest(): RequestInterface.
Removed
- PHP 5 support
-
v1.1.031 Aug 2016Release notes
Open source →Added
- HttpFulfilledPromise and HttpRejectedPromise which respect the HttpAsyncClient interface
-
v1.0.026 Jan 2016 -
v1.0.0-beta17 Dec 2015 pre-release -
v1.0.0-alpha313 Dec 2015 pre-releaseRelease notes
Open source →Changed
- Async client does not throw exceptions
Removed
- Promise interface moved to its own repository: php-http/promise
-
v1.0.0-alpha216 Nov 2015 pre-release -
v1.0.0-alpha26 Oct 2015 pre-releaseRelease notes
Open source →Added
- Better domain exceptions.
Changed
- Purpose of the library: general HTTP CLient abstraction.
Removed
- Request options: they should be configured at construction time.
- Multiple request sending: should be done asynchronously using Async Client.
getNamemethod
-
v1.0.0-RC112 Jan 2016 pre-release -
v0.1.003 Jun 2015