Set up a fresh Laravel app

This commit is contained in:
JP
2024-07-25 13:35:36 +08:00
commit 4b00590c89
55 changed files with 9978 additions and 0 deletions

17
public/index.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
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());