We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.38.0
8.3.14
Laravel
11.31.0
title => "*****" base_url => "https://*****" type => "laravel"
php artisan scribe:generate not picking up Laravel 11 routes defined in bootstrapp/app.php , the routes/api.php is not used anymore.
return Application::configure(basePath: dirname(__DIR__)) ->withRouting( commands: __DIR__ . '/../routes/console.php', health: '/up', then: function () { Route::middleware(['api.user', 'auth:user']) ->prefix('user/api') ->group(base_path('routes/user/api.php')); Route::middleware(['api.admin', 'auth:admin']) ->prefix('admin/api') ->group(base_path('routes/admin/api.php')); Route::prefix('user/api') ->group(base_path('routes/anonymous/api.php')); } ) ->withMiddleware(function (Middleware $middleware) { $middleware->group('api.auth', [SubstituteBindings::class, 'throttle:120,1']); $middleware->group('api.user', [SubstituteBindings::class, 'throttle:120,1']); $middleware->group('api.admin', [SubstituteBindings::class, 'throttle:120,1']); }) ->withExceptions(function (Exceptions $exceptions) { // })->create();
The text was updated successfully, but these errors were encountered:
Ah, I'll look into that!
Sorry, something went wrong.
No branches or pull requests
Scribe version
4.38.0
PHP version
8.3.14
Framework
Laravel
Framework version
11.31.0
Scribe config
What happened?
php artisan scribe:generate not picking up Laravel 11 routes defined in bootstrapp/app.php , the routes/api.php is not used anymore.
Docs
The text was updated successfully, but these errors were encountered: