PackageTrack
Sign in Get early access

nyholm/psr7

A fast PHP7 implementation of PSR-7

1.8.2 273M downloads/mo #154 most downloaded on composer Nyholm/psr7

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 5 months

Most releases are documented

notes for 20 of 24 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

24 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

24 releases · Mar 2017 to Sep 2024
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 1.8.2 09 Sep 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.8.1...1.8.2

    Open source →
    Release notes
    • Fix deprecation warnings in PHP 8.4
    Open source →
    Release notes

    Release 1.8.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 1.8.1 13 Nov 2023
    Release notes

    What's Changed

    Full Changelog: 1.8.0...1.8.1

    Open source →
    Release notes
    • Fix error handling in Stream::getContents()
    Open source →
    Release notes

    Release 1.8.1

    Compare

    Choose a tag to compare

    Open source →
  3. 1.8.0 02 May 2023
    Release notes

    What's Changed

    • README.md: add badges for GH Actions by @alexisLefebvre in #237
    • Deprecate HttplugFactory and make dependency on php-http/message-factory optional by @murat11 in #243

    New Contributors

    Full Changelog: 1.7.0...1.8.0

    Open source →
    Release notes
    • Deprecate HttplugFactory, use Psr17Factory instead
    • Make depencendy on php-http/message-factory optional
    Open source →
    Release notes

    Release 1.8.0

    Compare

    Choose a tag to compare

    Open source →
  4. 1.7.0 20 Apr 2023
    Release notes

    What's Changed

    Full Changelog: 1.6.1...1.7.0

    Open source →
    Release notes
    • Bump to PHP 7.2 minimum
    • Allow psr/http-message v2
    • Use copy-on-write for streams created from strings
    Open source →
    Release notes

    Release 1.7.0

    Compare

    Choose a tag to compare

    Open source →
  5. 1.6.1 17 Apr 2023
    Release notes

    Security fix for header validation. See GHSA-wjfc-pgfp-pv9c

    What's Changed

    See change log for changes.

    What's Changed

    Full Changelog: 1.6.0...1.6.1

    Open source →
    Release notes
    • Security fix: CVE-2023-29197
    Open source →
    Release notes

    Release 1.6.1

    Compare

    Choose a tag to compare

    Open source →
  6. 1.6.0 09 Apr 2023
    Release notes

    What's Changed

    See change log for changes.

    New Contributors

    Full Changelog: 1.5.1...1.6.0

    Open source →
    Release notes

    Changed

    • Seek to the begining of the string when using Stream::create()
    • Populate ServerRequest::getQueryParams() on instantiation
    • Encode reserved characters in userinfo in Uri
    • Normalize leading slashes for Uri::getPath()
    • Make Stream's constructor public
    • Add some missing type checks on arguments
    Open source →
    Release notes

    Release 1.6.0

    Compare

    Choose a tag to compare

    Open source →
  7. 1.5.1 22 Jun 2022
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Fixed

    • Fixed deprecations on PHP 8.1
    Open source →
    Release notes

    Release 1.5.1

    Compare

    Choose a tag to compare

    Open source →
  8. 1.5.0 02 Feb 2022
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Added

    • Add explicit @return mixed
    • Add explicit return types to HttplugFactory

    Fixed

    • Improve error handling with streams
    Open source →
    Release notes

    Release 1.5.0

    Compare

    Choose a tag to compare

    Open source →
  9. 1.4.1 02 Jul 2021
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Fixed

    • Psr17Factory::createStreamFromFile, UploadedFile::moveTo, and UploadedFile::getStream no longer throw ValueError in PHP 8.
    Open source →
    Release notes

    Release 1.4.1

    Compare

    Choose a tag to compare

    Open source →
  10. 1.4.0 18 Feb 2021
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Removed

    The final keyword was replaced by @final annotation.

    Open source →
    Release notes

    Release 1.4.0

    Compare

    Choose a tag to compare

    Open source →
  11. 1.3.2 14 Nov 2020
    Release notes

    Fixed

    • Stream::read() must not return boolean.
    • Improved exception message when using wrong HTTP status code.
    Open source →
  12. 1.3.1 13 Jun 2020
    Release notes

    Fixed

    • Allow installation on PHP8
    Open source →
  13. 1.3.0 23 May 2020
    Release notes

    Added

    • Make Stream::__toString() compatible with throwing exceptions on PHP 7.4.

    Fixed

    • Support for UTF-8 hostnames
    • Support for numeric header names
    Open source →
  14. 1.2.1 05 Sep 2019
    Release notes

    Changed

    • Added .github and phpstan.neon.dist to .gitattributes.
    Open source →
  15. 1.2.0 22 Aug 2019
    Release notes

    Changed

    • Change minimal port number to 0 (unix socket)
    • Updated 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.

    Fixed

    • Check for seekable on the stream resource.
    • Fixed the Response::$reason should never be null.
    Open source →
  16. 1.1.0 16 Feb 2019
    Release notes

    Added

    • Improved performance
    • More tests for UploadedFile and HttplugFactory

    Removed

    • Dead code
    Open source →
  17. 1.0.1 02 Sep 2018
    Release notes

    Fixed

    • Handle fopen failing in createStreamFromFile according to PSR-7.
    • Reduce execution path to speed up performance.
    • Fixed typos.
    • Code style.
    Open source →
  18. 1.0.0 02 Aug 2018
    Release notes

    Added

    • Support for final PSR-17 (HTTP factories). (Psr17Factory)
    • Support for numeric header values.
    • Support for empty header values.
    • All classes are final
    • HttplugFactory that implements factory interfaces from HTTPlug.

    Changed

    • ServerRequest does not extend Request.

    Removed

    • The HTTPlug discovery strategy was removed since it is included in php-http/discovery 1.4.
    • 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.
    Open source →
  19. 0.3.0 06 Feb 2018
    Release notes

    Added

    • Return types.
    • Many InvalidArgumentExceptions are thrown when you use invalid arguments.
    • Integration tests for UploadedFile and ServerRequest.

    Changed

    • We dropped PHP7.0 support.
    • PSR-17 factories have been marked as internal. They do not fall under our BC promise until PSR-17 is accepted.
    • UploadedFileFactory::createUploadedFile does not accept a string file path.
    Open source →
  20. 0.2.3 22 May 2017
    Release notes

    No changelog before this release

    Open source →
  21. 0.2.2 22 May 2017

    Nothing published for this version

  22. 0.2.1 14 May 2017

    Nothing published for this version

  23. 0.2.0 11 Apr 2017

    Nothing published for this version

  24. 0.1.0 11 Mar 2017

    Nothing published for this version

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