First of all, thank you for this amazing repository. However, it seems I have an issue with the web middleware. Whenever I add the middleware, it causes this error: Target class [web] does not exist. as seen in the figure below. I've tried running php artisan optimize:clear and config:cache but the error still persists.
Before submitting this issue, I tried to register Laravel routes for better understanding. Below is the configuration I have:
My RouteServiceProvider Class
public function boot()
{
$this->configureRateLimiting();
$this->routes(function () {
Route::middleware('api')
->prefix('api')
->group(base_path('routes/api.php'));
Route::middleware('web')
->group(base_path('routes/web.php'));
});
}
These are the configurations I've set up so far. I might be overlooking something. Could you please assist in resolving the issue? Any help would be greatly appreciated.
thanks for reporting an issue, I can take a look into this later today. I also plan to upgrade to Laravel 11 within the week, so stay tuned for that as well.
First of all, thank you for this amazing repository. However, it seems I have an issue with the web middleware. Whenever I add the middleware, it causes this error:
Target class [web] does not exist.
as seen in the figure below. I've tried runningphp artisan optimize:clear
andconfig:cache
but the error still persists.Before submitting this issue, I tried to register Laravel routes for better understanding. Below is the configuration I have:
These are the configurations I've set up so far. I might be overlooking something. Could you please assist in resolving the issue? Any help would be greatly appreciated.