NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #6 most downloaded on Packagist
Common interface for HTTP messages
Latest stable
1.0.1
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 6.7 years
Some releases are documented
notes for 8 of 19 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
19 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Updated all @return self annotation references in interfaces to use @return static , which more closelly follows the semantics of the specification.
@return self annotation references in interfaces to use@return static, which more closelly follows the semantics of theMessageInterface::getHeaders() return annotation to use thestring[][], indicating the format is a nested array of strings.@link annotation for RequestInterface::withRequestTarget()ServerRequestInterface::withUploadedFiles() parameter annotation$uploadedFiles).@throws annotation for the UploadedFileInterface::moveTo()This tag contains all updates since entering the second review of PSR-7. These include:
This tag contains all updates since entering the second review of PSR-7. These include:
RequestInterface::withUri() specifying that changes MUST also update the Host header unless the $preserverHost flag is true.getHeader*() method overrides in RequestInterface, as they are irrelevant with the above change.RequestInterface class-level docblock indicating that constructors SHOULD attempt to set the Host header in order to ensure the message is valid on initialization.RequestInterface::getHeaderLine() MUST return a string (null was allowed previously, which leads to ambiguity of return value).ResponseInterface::getReasonPhrase() MUST return a string(null was allowed previously, which leads to ambiguity of return value).ResponseInterface::withStatus() now sets the default value of the $reasonPhrase parameter to an empty string (to correspond to the above change).UploadedFileInterface::move() was renamed to moveTo(), and the argument renamed to $targetPath; this clarifies intent for the method.UriInterface::withPath() has clarifications in the docblock to indicate the four possible path types (empty, root path, relative path, domain-relative — or absolute — path).Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
StreamableInterface was renamed to StreamInterface; typehints were updated accordingly.
StreamableInterface was renamed to StreamInterface; typehints were updated accordingly.ServerRequestInterface::*FileParams() were renamed to *UploadedFiles(). They now expect and return array trees of a new interface, UploadedFileInterface.UploadedFileInterface was added to provide compatibility between SAPI and non-SAPI environments with regards to handling upload files.UriInterface with regards to URI component delimiters.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
null is no longer allowed (per the ML; see also php-fig/fig-standards#367).
Refactors MessageInterface to only provide getters.
Clarify MessageInterface::getHeaders()
@throws annotations (https://github.com/php-fig/fig-standards/pull/345)Nothing published for this version
Nothing published for this version
Nothing published for this version
Added return types, see https://www.php-fig.org/psr/psr-7/meta/#72-type-additions
Added return types, see https://www.php-fig.org/psr/psr-7/meta/#72-type-additions
Added parameters types, see https://www.php-fig.org/psr/psr-7/meta/#72-type-additions
Added parameters types, see https://www.php-fig.org/psr/psr-7/meta/#72-type-additions
Nothing published for this version
One column per quarter.