php-http/mock-client
Mock HTTP client
1.6.1
11M downloads/mo
#1324 most downloaded on Packagist
php-http/mock-client
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 1.7 years
Most releases are documented
notes for 16 of 20 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
20 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
20 releases · Dec 2015 to Oct 2024Releases
latest 20-
1.6.131 Oct 2024 -
1.6.021 May 2023Release notes
Open source →Fixed
- We actually did fallback to the legacy message factory discovery so 1.5.2 is broken.
Changed to use PSR 17 factory discovery.
If you allow the composer plugin ofphp-http/discovery, things will work out of the box.
When disabled and you do not have a PSR-17 factory installed, you will need to explicitly require one, e.g.nyholm/psr7.
Release notes
Open source →Fixed
- We actually did fallback to the legacy message factory discovery so 1.5.2 is broken.
Changed to use PSR 17 factory discovery.
If you allow the composer plugin of
php-http/discovery, things will work out of the box. When disabled and you do not have a PSR-17 factory installed, you will need to explicitly require one, e.g.nyholm/psr7.
- We actually did fallback to the legacy message factory discovery so 1.5.2 is broken.
-
1.5.217 May 2023Release notes
Open source →Broken, use 1.6.0 instead
Removed
- Removed dependency on
php-http/message-factoryas the mock client does not use it.
Release notes
Open source →Broken, use 1.6.0 instead
Removed
- Removed dependency on
php-http/message-factoryas the mock client does not use it.
- Removed dependency on
-
1.5.130 Apr 2023 -
1.5.025 Aug 2021Release notes
Open source →Changed
- Provide
psr/http-client-implementation - Drop support for
php-http/httplug: 1.*to be sure to implement a version of the client interface that implements the PSR.
Release notes
Open source →Changed
- Provide
psr/http-client-implementation - Drop support for
php-http/httplug: 1.*to be sure to implement a version of the client interface that implements the PSR.
- Provide
-
1.4.114 Jul 2020 -
1.4.002 Jul 2020Release notes
Open source →Added
- Support for the PSR-17 response factory
Changed
- Drop support for PHP 5 and 7.0
- Consitent implementation of union type checking
Fixed
reset()should not triggersetDefaultExceptionerror condition
Release notes
Open source →Added
- Support for the PSR-17 response factory
Changed
- Drop support for PHP 5 and 7.0
- Consistent implementation of union type checking
Fixed
reset()should not triggersetDefaultExceptionerror condition
-
1.3.106 Nov 2019 -
1.3.021 Feb 2019 -
1.2.020 Jan 2019 -
1.1.008 Jan 2018Release notes
Open source →Added
- Default response functionality
- Default exception functionality
getLastRequestmethod
-
v1.0.102 May 2017 -
1.0.010 Mar 2017 -
v0.3.316 Sep 2016Nothing published for this version
-
0.3.218 Jul 2016Nothing published for this version
-
0.3.129 Jun 2016Nothing published for this version
-
v0.3.026 Feb 2016 -
v0.2.001 Feb 2016 -
v0.1.131 Dec 2015Nothing published for this version
-
v0.1.029 Dec 2015