Add core Laravel files and Docker config

This commit is contained in:
Admin 2026-08-11 06:20:03 +00:00
parent e32ab70abd
commit 195cb84887

20
bootstrap/app.php Normal file
View file

@ -0,0 +1,20 @@
<?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
$middleware->validateCsrfTokens(except: [
'webhook' // Exclude webhook from CSRF
]);
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();