Skip to content

lazzard/psr7-response-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.