Initial PHP slim project structure

This commit is contained in:
2022-11-19 13:51:05 -05:00
parent 63dcfcdde5
commit 4a44aef764
13 changed files with 1546 additions and 8 deletions

8
src/routes.php Normal file
View File

@ -0,0 +1,8 @@
<?php
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Views\Twig;
// index GET route - this page should welcome the user and direct them to the available actions
$app->get('/', '\\BitGoblin\\Goliath\\Controllers\\HomeController:getIndex')->setName('index');