arslanoov/furious-psr7

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP 7.4 implementation of PSR-7

1.3.4 2020-07-25 09:52 UTC

This package is auto-updated.

Last update: 2024-12-12 02:24:29 UTC


README

PSR-7 implementation for PHP 7.4+

Latest Version Build Status Code Intelligence Status Quality Score Maintainability Total Downloads Monthly Downloads Software License

Install:

composer require furious/psr7

Use:

use Furious\Psr7\Factory\ServerRequestFactory;

$request = (new ServerRequestFactory)->fromGlobals();
$response = /* get response by request */

// emitting a response

$someHttpRunner->run($response);