An implementation of the PSR-7 Http Message interfaces and the PSR-17 Http Factories interfaces that focuses on code quality.
| Info | Value | 
|---|---|
| Latest release | |
| Requires | |
| License | |
| Unit tests | |
| Code coverage | |
| Code quality | |
| Quality tested with | phpunit, phan, psalm, phpcs, phpstan, phpmd, infection | 
composer require ingenioz-it/http-messageThis implementation strictly follows the PSR-7 and PSR-17 specifications, but it also provides one useful extra feature: the ability to create a ServerRequest from the global variables.
use IngeniozIT\Http\Message\ServerRequestFactory;
$factory = new ServerRequestFactory(/* ... */);
$serverRequest = $factory->fromGlobals($GLOBALS);You can list all the available features by running
composer testdox