initial commit

This commit is contained in:
rsgrinko committed 2026-09-12 23:55:44 +03:00
commit 3f64f4a49a
221 files changed
+26665

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
/**
* Единая точка входа. Всё, что не является файлом на диске, nginx уводит сюда
* (см. docs/DEPLOY.md), а маршруты разбираются в routes/.
*
* Здесь нарочно почти ничего нет: вся работа — в ядре.
*/
require dirname(__DIR__) . '/bootstrap.php';
use Rsgrinko\Proton\Http\Kernel;
use Rsgrinko\Proton\Http\Request;
(new Kernel())->handle(Request::fromGlobals())->send();