Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 352 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 352 Bytes

Implementation of http-message PSR-7

Examples

$serverRequest = new ServerRequest('POST', 'http://localhost:8000');

$body = $serverRequest->getParsedBody();
echo $body['name']; // display name field send from request 

Install

composer require hugoandrade/http-message-psr7

Running tests

composer test