PackageTrack
Sign in Get early access

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 2024
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 1.6.1 31 Oct 2024
    Release notes
    • Fix warnings with PHP 8.4.
    Open source →
    Release notes
    • Fix warnings with PHP 8.4.
    Open source →
    Release notes

    1.6.1 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 1.6.0 21 May 2023
    Release notes

    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.
    Open source →
    Release notes

    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.
    Open source →
    Release notes

    1.6.0

    Compare

    Choose a tag to compare

    Open source →
  3. 1.5.2 17 May 2023
    Release notes

    Broken, use 1.6.0 instead

    Removed

    • Removed dependency on php-http/message-factory as the mock client does not use it.
    Open source →
    Release notes

    Broken, use 1.6.0 instead

    Removed

    • Removed dependency on php-http/message-factory as the mock client does not use it.
    Open source →
    Release notes

    1.5.2 (broken)

    Compare

    Choose a tag to compare

    Open source →
  4. 1.5.1 30 Apr 2023
    Release notes

    Added

    • Allow psr/http-message version 2
    • Build with PHP 8.1 and 8.2
    Open source →
    Release notes

    Added

    • Allow psr/http-message version 2
    • Build with PHP 8.1 and 8.2
    Open source →
    Release notes

    1.5.1

    Compare

    Choose a tag to compare

    Open source →
  5. 1.5.0 25 Aug 2021
    Release notes

    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.
    Open source →
    Release notes

    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.
    Open source →
    Release notes

    1.5.0

    Compare

    Choose a tag to compare

    Open source →
  6. 1.4.1 14 Jul 2020
    Release notes

    Fixed

    • Support PHP 7.4 and 8.0
    Open source →
    Release notes

    Fixed

    • Support PHP 7.4 and 8.0
    Open source →
    Release notes

    1.4.1

    Compare

    Choose a tag to compare

    Open source →
  7. 1.4.0 02 Jul 2020
    Release notes

    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 trigger setDefaultException error condition
    Open source →
    Release notes

    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 trigger setDefaultException error condition
    Open source →
    Release notes

    1.4.0

    Compare

    Choose a tag to compare

    Open source →
  8. 1.3.1 06 Nov 2019
    Release notes

    Fixed

    • reset() also resets conditionalResults
    Open source →
    Release notes

    Fixed

    • reset() also resets conditionalResults
    Open source →
    Release notes

    1.3.1

    Compare

    Choose a tag to compare

    Open source →
  9. 1.3.0 21 Feb 2019
    Release notes

    Added

    • Conditional mock functionality
    Open source →
    Release notes

    Added

    • Conditional mock functionality
    Open source →
    Release notes

    1.3.0

    Compare

    Choose a tag to compare

    Open source →
  10. 1.2.0 20 Jan 2019
    Release notes

    Added

    • Support for HTTPlug 2.0.
    • Support for php-http/client-common 2.0.
    Open source →
    Release notes

    Added

    • Support for HTTPlug 2.0.
    • Support for php-http/client-common 2.0.
    Open source →
    Release notes

    1.2.0

    Compare

    Choose a tag to compare

    Open source →
  11. 1.1.0 08 Jan 2018
    Release notes

    Added

    • Default response functionality
    • Default exception functionality
    • getLastRequest method
    Open source →
  12. v1.0.1 02 May 2017
    Release notes

    Fixed

    • php-http/client-common minimum dependency
    Open source →
  13. 1.0.0 10 Mar 2017
    Release notes

    Stable release with no changes since 0.3

    Open source →
  14. v0.3.3 16 Sep 2016

    Nothing published for this version

  15. 0.3.2 18 Jul 2016

    Nothing published for this version

  16. 0.3.1 29 Jun 2016

    Nothing published for this version

  17. v0.3.0 26 Feb 2016
    Release notes

    Added

    • Support for custom MessageFactory

    Changed

    • Updated dependencies
    Open source →
  18. v0.2.0 01 Feb 2016
    Release notes

    Changed

    • Updated dependencies
    Open source →
  19. v0.1.1 31 Dec 2015

    Nothing published for this version

  20. v0.1.0 29 Dec 2015
    Release notes

    Added

    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive