Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.37 KB

HTTP factory for PHP 7.1+ based on PSR-17

Gitter Build Status Latest Stable Version Total Downloads License

Installation

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

Api documentation

https://phpdoc.fenric.ru/

Useful links

https://www.php-fig.org/psr/psr-17/