2017 © Pedro Peláez
 

library response-sender

A function to convert PSR-7 Response to HTTP output

image

http-interop/response-sender

A function to convert PSR-7 Response to HTTP output

  • PHP
  • 27 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 22 % Grown

The README.md

HTTP Response Sender

A simple function that will send PSR-7 ResponseInterface headers and body., (*1)

Installation

composer require http-interop/response-sender

Usage

use function Http\Response\send;

// Any ResponseInterface instance can be used.
$notFound = $responseFactory->createResponse(404);

// Send headers and body.
send($notFound);

License

MIT, (*2)

The Versions

17/03 2017

dev-master

9999999-dev

A function to convert PSR-7 Response to HTTP output

  Sources   Download

MIT

The Requires

 

The Development Requires

17/03 2017

1.0.0

1.0.0.0

A function to convert PSR-7 Response to HTTP output

  Sources   Download

MIT

The Requires

 

The Development Requires