Initial PHP slim project structure

This commit is contained in:
gballan committed 2022-11-19 13:51:05 -05:00
1 parent 63dcfcdde5
commit 4a44aef764
13 files changed
+1546 -8

No files matched your search

+8
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');