PHP code example of abrahanzarza / http-bundle
1. Go to this page and download the library: Download abrahanzarza/http-bundle 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/ */
abrahanzarza / http-bundle example snippets
declare(strict_types=1);
namespace namespace\controllers;
class ControllerClass
{
public function __invoke(Request $request): Response
{
return new Response('Success response');
}
}