Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Message Laravel Package

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.

View on GitHub
Deep Wiki
Context7
1.16.2
  • Avoid error when reading 0 bytes from BufferedStream.
  • Test with PHP 8.3 and 8.4.
1.16.1
  • Adjust phpdoc to avoid warnings about return types.
1.16.0
  • 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.
1.15.0

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
1.14.0

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
1.13.0
  • 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.
1.12.0
  • Added support for adjusting binary detection regex in FullHttpMessageFormatter
1.11.2
  • Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleStreamFactory.
1.11.1
  • Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleUriFactory.
1.11.0
  • 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.

1.10.0
  • Added PHP8 support
1.9.1
  • Improved detection of binary stream to not consider newlines, carriage return or tabs as binary.
1.9.0
  • Omitted binary body in FullHttpMessageFormatter and CurlCommandFormatter. [binary stream omitted] will be shown instead.

Added

  • New Header authentication method for arbitrary header authentication.
1.8.0

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.
1.7.2

Fixed

  • FilteredStream uses [@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.
v1.7.1

Fixed

  • FilteredStream is not actually seekable
1.7.0

See change log for all changes.

1.6.0

See change log for all changes.

1.5.0
  • Added Cookie::createWithoutValidation and Cookie::isValid
  • No string factories does not rewind streams
  • FilteredStream::getSize returns null

See change log for all changes between all versions.

v1.4.1
v1.4.0
  • 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

See change log for all changes between all versions.

v1.3.1
v1.3.0
v1.2.0
v1.0.0
v0.1.0

This package merges the following:

  • php-http/authentication
  • php-http/encoding
  • php-http/message-decorator

Merry Christmas everyone (who celebrates it)! :christmas_tree:

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport