php-template/public/index.php
Snider 9f0d421ae8
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 3s
CI / PHP 8.4 (pull_request) Failing after 2s
fix(dx): add strict_types to all PHP files and update CLAUDE.md
- Add declare(strict_types=1) to 9 PHP files missing it
- Update CLAUDE.md: document composer test/lint scripts
- Update CLAUDE.md: fix lthn/php-api → lthn/api package name
- Fix PSR-12 compliance (Pint: ordered imports, FQCN extraction)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 09:10:30 +00:00

19 lines
494 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';
// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
->handleRequest(Request::capture());