lazzard/psr7-response-sender

Simple PSR-7 compatible response sender

v1.1.0 2022-03-12 16:15 UTC

This package is auto-updated.

Last update: 2024-12-12 19:43:39 UTC


README

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.