sunrise/http-server-request

Sunrise HTTP server request wrapper for PHP 7.1+ based on PSR-7 & PSR-17

v1.1.0 2020-12-26 07:07 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

Useful links