ingenioz-it / http-message
Implementation of PSR-7 HTTP Message Interfaces and PSR-17 HTTP Factories
Installs: 81
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
Type:project
README
An implementation of the PSR-7 Http Message interfaces and the PSR-17 Http Factories interfaces that focuses on code quality.
About
Installation
composer require ingenioz-it/http-message
Extra feature
This 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);
Full documentation
You can list all the available features by running
composer testdox