Sunrise HTTP factory for PHP 7.1+ based on PSR-17

v1.1.0 2020-12-26 07:32 UTC

This package is auto-updated.

Last update: 2021-09-06 23:25:01 UTC


Gitter Build Status Latest Stable Version Total Downloads 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

php vendor/bin/phpunit

Useful links