Files
madar/public/api.php
T
2026-09-05 15:54:33 +03:30

12 lines
199 B
PHP

<?php
declare(strict_types=1);
use App\Http\Response;
try {
$app = require dirname(__DIR__) . '/bootstrap/app.php';
$app->api();
} catch (Throwable $error) {
Response::error($error);
}