nyholm/psr7
Nyholm PSR-7 is a super lightweight, strict, and fast implementation of PSR-7 with full PSR-17 factories and HTTPlug/PSR-18 compatibility. Create requests, streams, URIs, and server requests with minimal overhead.
[@return](https://github.com/return) mixedPsr17Factory::createStreamFromFile, UploadedFile::moveTo, and
UploadedFile::getStream no longer throw ValueError in PHP 8.The final keyword was replaced by [@final](https://github.com/final) annotation.
Stream::read() must not return boolean..github and phpstan.neon.dist to .gitattributes.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.UploadedFile and HttplugFactoryfopen failing in createStreamFromFile according to PSR-7.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.InvalidArgumentExceptions are thrown when you use invalid arguments.UploadedFile and ServerRequest.UploadedFileFactory::createUploadedFile does not accept a string file path.No changelog before this release
How can I help you explore Laravel packages today?