NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #154 most downloaded on Packagist
A fast PHP7 implementation of PSR-7
Latest stable
1.8.2
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Nearly every release is documented
notes for 22 of 24 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
24 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
[PHP 8.4] Fixes for implicit nullability deprecation by @Ayesh in #255
Full Changelog: 1.8.1...1.8.2
Full Changelog: https://github.com/Nyholm/psr7/compare/1.8.1...1.8.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix error handling in Stream::getContents() by @nicolas-grekas in #252
Full Changelog: 1.8.0...1.8.1
Full Changelog: https://github.com/Nyholm/psr7/compare/1.8.0...1.8.1
Deprecate HttplugFactory and make dependency on php-http/message-factory optional by @murat11 in #243
Full Changelog: 1.7.0...1.8.0
Full Changelog: https://github.com/Nyholm/psr7/compare/1.7.0...1.8.0
chore: drop php 7.1 support by @simPod in #226
Full Changelog: 1.6.1...1.7.0
Full Changelog: https://github.com/Nyholm/psr7/compare/1.6.1...1.7.0
Security fix for header validation. See GHSA-wjfc-pgfp-pv9c
Security fix for header validation. See GHSA-wjfc-pgfp-pv9c
See change log for changes.
Full Changelog: 1.6.0...1.6.1
Security fix for header validation. See https://github.com/Nyholm/psr7/security/advisories/GHSA-wjfc-pgfp-pv9c
See change log for changes.
Full Changelog: https://github.com/Nyholm/psr7/compare/1.6.0...1.6.1
@vanodevium made their first contribution in #211
See change log for changes.
Full Changelog: 1.5.1...1.6.0
See change log for changes.
Full Changelog: https://github.com/Nyholm/psr7/compare/1.5.1...1.6.0
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
@return mixedSee change log for changes.
See change log for changes.
Psr17Factory::createStreamFromFile, UploadedFile::moveTo, and
UploadedFile::getStream no longer throw ValueError in PHP 8.See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
Stream::read() must not return boolean.Allow this package to be installed on PHP8
Allow this package to be installed on PHP8
See change log for changes.
See change log for changes.
No code changes. See change log for changes.
No code changes.
See change log for changes.
See change log for changes.
See change log for changes.
Psr17Factory::createResponse to respect the specification. If second
argument is not used, a standard reason phrase. If an empty string is passed,
then the reason phrase will be empty.Response::$reason should never be null.See change log for changes.
See change log for changes.
UploadedFile and HttplugFactorySee change log for changes.
See change log for changes.
fopen failing in createStreamFromFile according to PSR-7.See change log for changes.
See change log for changes.
Psr17Factory)HttplugFactory that implements factory interfaces from HTTPlug.ServerRequest does not extend Request.UploadedFileFactory() was removed in favor for Psr17Factory.ServerRequestFactory() was removed in favor for Psr17Factory.StreamFactory, UriFactory, abd MessageFactory. Use HttplugFactory instead.ServerRequestFactory::createServerRequestFromArray, ServerRequestFactory::createServerRequestFromArrays and
ServerRequestFactory::createServerRequestFromGlobals. Please use the new nyholm/psr7-server instead.See change log for changes.
See change log for changes.
InvalidArgumentExceptions are thrown when you use invalid arguments.UploadedFile and ServerRequest.UploadedFileFactory::createUploadedFile does not accept a string file path.Assign return value for getServerParams in factory
Assign return value for getServerParams in factory
Added discovery strategy for HTTPlug
Added discovery strategy for HTTPlug
Bugfix with headers and some code cleanups.
Bugfix with headers and some code cleanups.
Nothing published for this version
Nothing published for this version
One column per quarter.