https://github.com/psr-framework/psr7
PSR-7 implementation for PHP 7.4+
https://github.com/psr-framework/psr7
php php7 psr psr-7
Last synced: 11 months ago
JSON representation
PSR-7 implementation for PHP 7.4+
- Host: GitHub
- URL: https://github.com/psr-framework/psr7
- Owner: PSR-Framework
- Created: 2020-07-07T08:39:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-25T09:52:38.000Z (almost 6 years ago)
- Last Synced: 2024-11-13T20:41:02.050Z (over 1 year ago)
- Topics: php, php7, psr, psr-7
- Language: PHP
- Homepage:
- Size: 161 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## PSR-7
PSR-7 implementation for PHP 7.4+
[](https://github.com/Furious-PHP/psr7/releases)
[](https://scrutinizer-ci.com/g/Furious-PHP/psr7/build-status/master)
[](https://scrutinizer-ci.com/code-intelligence)
[](https://scrutinizer-ci.com/g/Furious-PHP/psr7)
[](https://codeclimate.com/github/Furious-PHP/psr7/maintainability)
[](https://packagist.org/packages/furious/psr7)
[](https://packagist.org/packages/furious/psr7)
[](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);