aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/app.php')
-rw-r--r--bootstrap/app.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/bootstrap/app.php b/bootstrap/app.php
new file mode 100644
index 0000000..7b162da
--- /dev/null
+++ b/bootstrap/app.php
@@ -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();