lazzard / psr7-response-sender
Simple PSR-7 compatible response sender
v1.1.0
2022-03-12 16:15 UTC
Requires
- php: ^7.2 || ^8.0
- psr/http-message: ^1.0
Requires (Dev)
- ext-json: *
- ext-xdebug: *
- guzzlehttp/psr7: ^2.1
- php-mock/php-mock-phpunit: ^2.6
- phpunit/phpunit: ^9
README
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.