guzzlehttp/psr7
Full PSR-7 message implementation with rich stream support: multiple stream types and decorators (append, buffer, caching, etc.), plus helpers like query-string parsing. Installed via Composer and maintained with v2 for PHP 7.2.5+.
Utils:: asciiToLower, asciiToUpper, asciiUcFirst, caselessEquals, caselessContainsgetHost() matches the URI authority (GHSA-c2w2-prh8-qm98)Query::build() that guzzlehttp/psr7 3.0 rejectsUtils::streamFor(); cast them to a string for 3.0Uri::withQueryValues() values; cast them to a string for 3.0Utils::modifyRequest() to reject conflicting URI and Host header changes in the same callHeader::parse() to split semicolon-separated parameters without repeated regular expression lookaheadsUriComparator::isCrossOrigin() so only HTTP and HTTPS missing ports receive implicit default portsUtils::modifyRequest() change values that guzzlehttp/psr7 3.0 will rejectUtils::copyToStream() to retry short destination writes instead of dropping the unwritten remainderHeader::parse() splitting of semicolon-separated parameters with escaped quotesUriNormalizer percent-encoding normalizations to URI fragmentsLimitStream::getSize() return 0 for slices past the underlying stream endAppendStream::read() return an empty string when no streams are attachedCachingStream::read() throw on an incomplete cache-target write instead of silently corrupting replaysCachingStream::seek() from looping indefinitely when the remote stream makes no progressServerRequest::fromGlobals() robust against unexpected HTTP header value types in $_SERVERUtils::modifyRequest() with numeric header namesServerRequest::fromGlobals() against malformed $_SERVER valuesStreamWrapper::getResource() cannot create a resourceUtils::modifyRequest()UriResolver::resolve()Uri::__toString() side-effect-freeCachingStream::detach() returning an incomplete resource before the decorated stream has been fully readMessage::bodySummary() returning null when truncating printable UTF-8 bodies inside a multibyte characterMultipartStream[@return](https://github.com/return) static to MessageTrait methodsSee also the change log for changes.
+ signs in Uri::withQueryValue() and Uri::withQueryValues() to prevent them being interpreted as spacesSee also the change log for changes.
See also the change log for changes.
See also the change log for changes.
Utils::redactUserInfo() methodQuery::buildSee also the change log for changes.
StreamWrapper::stream_stat() return false if inner stream's size is nullSee also the change log for changes.
call_user_func* with native callsSee also the change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
How can I help you explore Laravel packages today?