PHP code example of aloefflerj / yet-another-controller
1. Go to this page and download the library: Download aloefflerj/yet-another-controller 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/ */
aloefflerj / yet-another-controller example snippets
declare(strict_types=1);
use Aloefflerj\YetAnotherController\Controller\Controller;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;