ogsoft-example/bootstrap/app.php

21 lines
557 B
PHP
Raw Permalink Normal View History

2024-08-04 17:20:32 +00:00
<?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',
2024-08-07 11:01:34 +00:00
api: __DIR__.'/../routes/api.php',
2024-08-04 17:20:32 +00:00
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
2024-08-07 11:01:34 +00:00
2024-08-04 17:20:32 +00:00
->withMiddleware(function (Middleware $middleware) {
//
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();