LaravelTest
18 строк · 513.0 Байт
1<?php
2
3use Illuminate\Foundation\Application;
4use Illuminate\Foundation\Configuration\Exceptions;
5use Illuminate\Foundation\Configuration\Middleware;
6
7return Application::configure(basePath: dirname(__DIR__))
8->withRouting(
9web: __DIR__.'/../routes/web.php',
10commands: __DIR__.'/../routes/console.php',
11health: '/up',
12)
13->withMiddleware(function (Middleware $middleware) {
14//
15})
16->withExceptions(function (Exceptions $exceptions) {
17//
18})->create();
19