sunrise/http-server-request

Sunrise HTTP Server Request wrapper for PHP 7.1+ based on PSR-7 & PSR-17

v1.0.12 2020-03-29 03:10 UTC

README

Gitter Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

Installation

composer require sunrise/http-server-request

How to use?

use Sunrise\Http\ServerRequest\ServerRequestFactory;

$request = ServerRequestFactory::fromGlobals();

// just use PSR-7 methods...

Test run

php vendor/bin/phpunit

Api documentation

https://phpdoc.fenric.ru/

Useful links