2017 © Pedro Peláez
 

library psr7-response-sender

PSR-7 Response Sender

image

quimcalpe/psr7-response-sender

PSR-7 Response Sender

  • Friday, May 20, 2016
  • by quimcalpe
  • Repository
  • 2 Watchers
  • 2 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

quimcalpe/psr7-response-sender

Version License Build Status, (*1)

Sends PSR-7 Response compatible object's content and headers to browser., (*2)

Install

Via Composer, (*3)

``` bash $ composer require quimcalpe/psr7-response-sender, (*4)


## Requirements The following versions of PHP are supported by this version. * PHP 5.5 * PHP 5.6 * PHP 7 * HHVM ## Basic Usage ```php // Require composer autoloader require __DIR__ . '/vendor/autoload.php'; // $response must be Psr\Http\Message\ResponseInterface compatible QuimCalpe\ResponseSender\send($response);

With PHP 5.6 you can import the function straight away:, (*5)

use function QuimCalpe\ResponseSender\send AS send_response;

send_response($response);

Testing

bash $ vendor/bin/phpunit, (*6)

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

20/05 2016

dev-master

9999999-dev

PSR-7 Response Sender

  Sources   Download

MIT

The Requires

 

The Development Requires

by Quim Calpe

20/05 2016

0.1.3

0.1.3.0

PSR-7 Response Sender

  Sources   Download

MIT

The Requires

 

The Development Requires

by Quim Calpe

25/11 2015

0.1.2

0.1.2.0

PSR-7 Response Sender

  Sources   Download

MIT

The Requires

 

The Development Requires

by Quim Calpe

25/11 2015

0.1.1

0.1.1.0

PSR-7 Response Sender

  Sources   Download

MIT

The Requires

 

The Development Requires

by Quim Calpe

25/11 2015

0.1.0

0.1.0.0

PSR-7 Response Sender

  Sources   Download

MIT

The Requires

 

The Development Requires

by Quim Calpe