PHP code example of quimcalpe / psr7-response-sender
1. Go to this page and download the library: Download quimcalpe/psr7-response-sender library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
quimcalpe / psr7-response-sender example snippets
// Require composer autoloader
\Message\ResponseInterface compatible
QuimCalpe\ResponseSender\send($response);
use function QuimCalpe\ResponseSender\send AS send_response;
send_response($response);