Mercurial > borealpoint
comparison bootstrap/app.php @ 0:9d7dcd54c677
Initial Commit and package setup
| author | luka |
|---|---|
| date | Sat, 23 Aug 2025 22:20:51 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:9d7dcd54c677 |
|---|---|
| 1 <?php | |
| 2 | |
| 3 use Illuminate\Foundation\Application; | |
| 4 use Illuminate\Foundation\Configuration\Exceptions; | |
| 5 use Illuminate\Foundation\Configuration\Middleware; | |
| 6 | |
| 7 return Application::configure(basePath: dirname(__DIR__)) | |
| 8 ->withRouting( | |
| 9 web: __DIR__.'/../routes/web.php', | |
| 10 commands: __DIR__.'/../routes/console.php', | |
| 11 health: '/up', | |
| 12 ) | |
| 13 ->withMiddleware(function (Middleware $middleware): void { | |
| 14 // | |
| 15 }) | |
| 16 ->withExceptions(function (Exceptions $exceptions): void { | |
| 17 // | |
| 18 })->create(); |
