Set up a fresh Laravel app

This commit is contained in:
Benjamin Nussbaum 2025-02-08 15:05:41 +01:00
commit 337c77f8a2
58 changed files with 10295 additions and 0 deletions

18
bootstrap/app.php Normal file
View file

@ -0,0 +1,18 @@
<?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) {
//
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();