Symfony init

This commit is contained in:
2024-10-31 20:51:49 +01:00
parent 61b3053d56
commit 9c3e736bfc
16 changed files with 2697 additions and 0 deletions

9
public/index.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};