/psr7-response-sender

Simple PSR-7 compatible response sender.

Primary LanguagePHPMIT LicenseMIT

Packagist PHP version tests CodeFactor codecov License

Lazzard/Psr7ResponseSender

Simple PSR-7 compatible response sender.

composer require lazzard/psr7-response-sender
<?php

use GuzzleHttp\Psr7\Response;
use Lazzard\Psr7ResponseSender\Sender;

$response = new Response;
$sender = new Sender;

$sender->send($response);
// OR
$sender($response);

Testing

Run the PHPUnit tests :

vendor/bin/phpunit

Sponsors

Special thanks to our supporters :

Licence

MIT License. please see the LICENSE FILE for more information.