mirror of
https://github.com/phpmon/website
synced 2025-08-06 14:20:09 +02:00
19 lines
563 B
PHP
19 lines
563 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Foundation\Configuration\Exceptions;
|
|
use Illuminate\Foundation\Configuration\Middleware;
|
|
|
|
return Application::configure(basePath: dirname(__DIR__))
|
|
->withRouting(
|
|
web: __DIR__ . '/../app/routes.php',
|
|
commands: __DIR__ . '/../app/console.php',
|
|
health: '/up'
|
|
)
|
|
->withCommands([__DIR__ . '/../app/Commands'])
|
|
->withMiddleware(function (Middleware $middleware) {})
|
|
->withExceptions(function (Exceptions $exceptions) {})
|
|
->create();
|