Restructure project layout

This commit is contained in:
Micha
2025-12-24 12:03:44 +01:00
parent e1552a8c2e
commit 98a2f1d536
47 changed files with 7 additions and 11 deletions

9
api/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']);
};