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

Latest commit

 

History

History
43 lines (31 loc) · 1.38 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.38 KB

HTTP factory for PHP 7.1+ (incl. PHP 8) 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

Useful links