withRouting( api: __DIR__.'/../routes/api.php', apiPrefix: '', commands: __DIR__.'/../routes/console.php', ) ->withMiddleware(function (Middleware $middleware): void { $middleware->statefulApi(); }) ->withExceptions(function (Exceptions $exceptions): void { // })->create();