HTTP factory for PHP 7.1+ based on PSR-17

v2.0.2 2022-04-19 19:09 UTC


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


composer require sunrise/http-factory

How to use?

use Sunrise\Http\Factory\RequestFactory;
use Sunrise\Http\Factory\ResponseFactory;
use Sunrise\Http\Factory\ServerRequestFactory;
use Sunrise\Http\Factory\StreamFactory;
use Sunrise\Http\Factory\UploadedFileFactory;
use Sunrise\Http\Factory\UriFactory;

// just use PSR-17 methods...

Based on the following packages

Test run

composer test

Useful links