Add repo hygiene rules and ignore secrets

This commit is contained in:
2026-02-03 06:55:39 +01:00
parent 88732a8ae7
commit 6035bc1715
52 changed files with 3295 additions and 25 deletions

19
server/public/index.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
use App\Bootstrap;
use Dotenv\Dotenv;
require __DIR__ . '/../vendor/autoload.php';
$repoRoot = dirname(__DIR__, 1);
$repoRoot = dirname($repoRoot, 1);
if (file_exists($repoRoot . '/.env')) {
$dotenv = Dotenv::createImmutable($repoRoot);
$dotenv->safeLoad();
}
$container = Bootstrap::buildContainer();
$app = Bootstrap::createApp($container);
$app->run();