sabre/http
sabre/http wraps PHP’s HTTP superglobals and output functions into easy-to-mock Request and Response objects. Use it to read input, headers, and body via a consistent API, and to generate responses cleanly in apps and libraries.
This release drops support for PHP 7.4 8.0 and 8.1
This release continues to support PHP 7.4 and 8.0 through 8.5
This release just has code-style changes applied by php-cs-fixer major version 3. No change to behavior.
This has been released as a major release to be sure that consumers can implement it as-and-when they wish, just in case someone has some code that depends on the Windows file path URI parsing that changed a bit between sabre/uri 2 and 3.
Major version 6 implements type declarations for input parameters, function returns, variables etc. It supports PHP 7.4 and PHP 8. When you upgrade to major version 6, if you extend classes etc., then you will need to make similar type declarations in your code.
How can I help you explore Laravel packages today?