php-http/message
PSR-7 HTTP message utilities for PHP: authentication implementations, stream encoders, message decorators, cookie handling, request matchers, and PSR-7 factory adapters for Guzzle and Diactoros—handy building blocks for HTTP clients and workflows.
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.If you use the decorator classes, you might need to adjust your code to the parameter and return type declarations added in PSR-7
This release is not actually compatible with PSR-7 1.1 or 2.0
Formatter::formatResponseForRequest() to allow the formatter to get context from the request to decide what of the response to output.Formatter::formatResponse() in favor of the new formatResponseForRequest method.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.
[binary stream omitted] will be shown instead.CurlCommandFormatter when body is larger than escapeshellarg allowed length.[@trigger_error](https://github.com/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.See change log for all changes.
See change log for all changes.
Cookie::createWithoutValidation and Cookie::isValidFilteredStream::getSize returns nullSee change log for all changes between all versions.
See change log for all changes between all versions.
This package merges the following:
Merry Christmas everyone (who celebrates it)! :christmas_tree:
How can I help you explore Laravel packages today?