PackageTrack
Sign in Get early access

php-http/message

HTTP Message related tools

1.16.2 288M downloads/mo #242 most downloaded on Packagist php-http/message

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 4 weeks to 1.2 years

Nearly every release is documented

notes for 29 of 31 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

31 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

31 releases · Dec 2015 to Oct 2024
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 31
  1. 1.16.2 02 Oct 2024
    Release notes
    • Avoid error when reading 0 bytes from BufferedStream.
    • Test with PHP 8.3 and 8.4.
    Open source →
    Release notes
    • Avoid error when reading 0 bytes from BufferedStream.
    • Test with PHP 8.3 and 8.4.
    Open source →
    Release notes

    1.16.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 1.16.1 07 Mar 2024
    Release notes
    • Adjust phpdoc to avoid warnings about return types.
    Open source →
    Release notes
    • Adjust phpdoc to avoid warnings about return types.
    Open source →
    Release notes

    1.16.1

    Compare

    Choose a tag to compare

    Open source →
  3. 1.16.0 17 May 2023
    Release notes
    • Remove direct dependency on php-http/message-factory as it is only needed for the deprecated Httplug factories.
      Upgrade to PSR-17 message factories provided by your HTTP client implementation.
      If you need the Httplug factories for the time being, you can composer require php-http/message-factory in your application.
    Open source →
    Release notes
    • Remove direct dependency on php-http/message-factory as it is only needed for the deprecated Httplug factories. Upgrade to PSR-17 message factories provided by your HTTP client implementation. If you need the Httplug factories for the time being, you can composer require php-http/message-factory in your application.
    Open source →
    Release notes

    1.16.0

    Compare

    Choose a tag to compare

    Open source →
  4. 1.15.0 10 May 2023
    Release notes

    If you use the decorator classes, you might need to adjust your code to the parameter and return type declarations added in PSR-7

    • Actually make compatible with PSR-7 1.1 and 2.0
    • Drop support for PHP 7.1
    Open source →
    Release notes

    If you use the decorator classes, you might need to adjust your code to the parameter and return type declarations added in PSR-7

    • Actually make compatible with PSR-7 1.1 and 2.0
    • Drop support for PHP 7.1
    Open source →
    Release notes

    1.15.0

    Compare

    Choose a tag to compare

    Open source →
  5. 1.14.0 14 Apr 2023
    Release notes

    This release is not actually compatible with PSR-7 1.1 or 2.0

    • Allow installation with http-message (PSR-7) version 2 in addition to version 1.
    • Support for PHP 8.2
    Open source →
    Release notes

    This release is not actually compatible with PSR-7 1.1 or 2.0

    • Allow installation with http-message (PSR-7) version 2 in addition to version 1.
    • Support for PHP 8.2
    Open source →
    Release notes

    1.14.0

    Compare

    Choose a tag to compare

    Open source →
  6. 1.13.0 11 Feb 2022
    Release notes
    • Added Formatter::formatResponseForRequest() to allow the formatter to get context from the request to decide what of the response to output.
    • Deprecated Formatter::formatResponse() in favor of the new formatResponseForRequest method.
    Open source →
    Release notes
    • Added Formatter::formatResponseForRequest() to allow the formatter to get context from the request to decide what of the response to output.
    • Deprecated Formatter::formatResponse() in favor of the new formatResponseForRequest method.
    Open source →
    Release notes

    1.13.0

    Compare

    Choose a tag to compare

    Open source →
  7. 1.12.0 29 Aug 2021
    Release notes
    • Added support for adjusting binary detection regex in FullHttpMessageFormatter
    Open source →
    Release notes
    • Added support for adjusting binary detection regex in FullHttpMessageFormatter.
    Open source →
    Release notes

    1.12.0

    Compare

    Choose a tag to compare

    Open source →
  8. 1.11.2 03 Aug 2021
    Release notes
    • Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleStreamFactory.
    Open source →
    Release notes
    • Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleStreamFactory.
    Open source →
    Release notes

    1.11.2

    Compare

    Choose a tag to compare

    Open source →
  9. 1.11.1 24 May 2021
    Release notes
    • Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleUriFactory.
    Open source →
    Release notes
    • Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleUriFactory.
    Open source →
    Release notes

    1.11.1

    Compare

    Choose a tag to compare

    Open source →
  10. 1.11.0 01 Feb 2021
    Release notes
    • Migrated from zendframework/zend-diactoros to laminas/laminas-diactoros.
      Users are encouraged to update their dependencies by simply replacing the Zend package with the Laminas package.
      Due to the laminas-zendframework-brige, BC changes
      are not expected and legacy code does not need to be refactored (though it is
      recommended and simple).

    • The diactoros factories of php-http/message will return objects from the Laminas\Diactoros\ namespace, if
      the respective classes are available via autoloading, but continue to return objects from Zend\Diactoros\
      namespace otherwise.

    • Allow to specify the hashing algorithm for WSSE authentication.

    Open source →
    Release notes
    • Migrated from zendframework/zend-diactoros to laminas/laminas-diactoros. Users are encouraged to update their dependencies by simply replacing the Zend package with the Laminas package. Due to the laminas-zendframework-brige, BC changes are not expected and legacy code does not need to be refactored (though it is recommended and simple).

    • The diactoros factories of php-http/message will return objects from the Laminas\Diactoros\ namespace, if the respective classes are available via autoloading, but continue to return objects from Zend\Diactoros\ namespace otherwise.

    • Allow to specify the hashing algorithm for WSSE authentication.

    Open source →
    Release notes

    1.11.0

    Compare

    Choose a tag to compare

    Open source →
  11. 1.10.0 11 Nov 2020
    Release notes
    • Added support for PHP 8.0.
    Open source →
  12. 1.9.1 13 Oct 2020
    Release notes
    • Improved detection of binary stream to not consider newlines, carriage return or tabs as binary.
    Open source →
  13. 1.9.0 17 Aug 2020
    Release notes
    • Omitted binary body in FullHttpMessageFormatter and CurlCommandFormatter. [binary stream omitted] will be shown instead.

    Added

    • New Header authentication method for arbitrary header authentication.
    Open source →
  14. 1.8.0 05 Aug 2019
    Release notes

    Changed

    • Raised minimum PHP version to 7.1

    Fixed

    • Fatal error on CurlCommandFormatter when body is larger than escapeshellarg allowed length.
    • Do not read stream in message formatter if stream is not seekable.
    Open source →
  15. 1.7.2 01 Nov 2018
    Release notes

    Fixed

    • FilteredStream uses @trigger_error instead of throwing exceptions to not break careless users. You still need to fix your stream code to respect isSeekable. Seeking does not work as expected, and we will add exceptions in version 2.
    Open source →
  16. v1.7.1 29 Oct 2018
    Release notes

    Fixed

    • FilteredStream is not actually seekable
    Open source →
  17. 1.7.0 15 Aug 2018
    Release notes

    Fixed

    • Fix CurlCommandFormatter for binary request payloads
    • Fix QueryParam authentication to assemble proper URL regardless of PHP arg_separator.output directive
    • Do not pass null parameters to Clue\StreamFilter\fun

    Changed

    • Dropped tests on HHVM
    Open source →
  18. 1.6.0 05 Jul 2017
    Release notes

    Added

    • CookieUtil::parseDate to create a date from cookie date string

    Fixed

    • Fix curl command of CurlFormatter when there is an user-agent header
    Open source →
  19. 1.5.0 14 Feb 2017
    Release notes

    Added

    • Check for empty string in Stream factories
    • Cookie::createWithoutValidation Static constructor to create a cookie. Will not perform any attribute validation during instantiation.
    • Cookie::isValid Method to check if cookie attributes are valid.

    Fixed

    • FilteredStream::getSize returns null because the contents size is unknown.
    • Stream factories does not rewinds streams. The previous behavior was not coherent between factories and inputs.

    Deprecated

    • FilteredStream::getReadFilter The read filter is internal and should never be used by consuming code.
    • FilteredStream::getWriteFilter We did not implement writing to the streams at all. And if we do, the filter is an internal information and should not be used by consuming code.
    Open source →
  20. v1.4.1 16 Dec 2016
    Release notes

    Fixed

    • Cookie::matchPath Cookie with root path (/) will not match sub path (e.g. /cookie).
    Open source →
  21. v1.4.0 20 Oct 2016
    Release notes

    Added

    • Message, stream and URI factories for Slim Framework
    • BufferedStream that allow you to decorate a non-seekable stream with a seekable one.
    • cUrlFormatter to be able to redo the request with a cURL command
    Open source →
  22. v1.3.1 15 Jul 2016
    Release notes

    Fixed

    • FullHttpMessageFormatter will not read from streams that you cannot rewind (non-seekable)
    • FullHttpMessageFormatter will not read from the stream if $maxBodyLength is zero
    • FullHttpMessageFormatter rewinds streams after they are read
    Open source →
  23. v1.3.0 14 Jul 2016
    Release notes

    Added

    • FullHttpMessageFormatter to include headers and body in the formatted message

    Fixed

    • #41: Response builder broke header value
    Open source →
  24. v1.2.0 29 Mar 2016
    Release notes

    Added

    • The RequestMatcher is built after the Symfony RequestMatcher and separates scheme, host and path expressions and provides an option to filter on the method
    • New RequestConditional authentication method using request matchers
    • Add automatic basic auth info detection based on the URL

    Changed

    • Improved ResponseBuilder

    Deprecated

    • RegexRequestMatcher, use RequestMatcher instead
    • Matching authenitcation method, use RequestConditional instead
    Open source →
  25. v1.1.0 25 Feb 2016
    Release notes

    Added

    • Add a request matcher interface and regex implementation
    • Add a callback request matcher implementation
    • Add a ResponseBuilder, to create PSR7 Response from a string

    Fixed

    • Fix casting string on a FilteredStream not filtering the output
    Open source →
  26. v1.0.0 27 Jan 2016

    Nothing published for this version

  27. v0.2.1 31 Dec 2015

    Nothing published for this version

  28. 0.2.0 29 Dec 2015
    Release notes

    Added

    • Autoregistration of stream filters using Composer autoload
    • Cookie
    • Apigen configuration
    Open source →
  29. v0.1.2 26 Dec 2015
    Release notes

    Added

    • Request and response factory bindings

    Fixed

    • Chunk filter namespace in Dechunk stream
    Open source →
  30. v0.1.1 25 Dec 2015
    Release notes

    Added

    • Formatter
    Open source →
  31. v0.1.0 24 Dec 2015
    Release notes

    Added

    • Authentication
    • Encoding
    • Message decorator
    • Message factory (Guzzle, Diactoros)
    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