skip to Main Content

laravel Target class [TestController] does not exist

I use Laravel Framework 9.31.0 on win11 I used action syntax in the file routesweb.php: Route::get('role', [TestController::class, 'index']); or full path to controller: => 'appHttpControllersTestController@index' or like this: use appHttpControllersTestController; Also I declared variable $namespace in the file appProvidersRouteServiceProvider.php and…

VIEW QUESTION
Back To Top
Search