Answers for "Target class [App\Http\Controllers\BlogController] does not exist. http://localhost:8000/"

PHP
8

laravel target class does not exist

Uncomment this line in app>>provider>>RouteServiceProvider.php file
// protected $namespace = 'App\\Http\\Controllers';
Posted by: Guest on January-08-2021
0

Target class [Controller] does not exist.

Route::get('/users', [UserController::class, 'index']);
Posted by: Guest on December-07-2020

Code answers related to "Target class [App\Http\Controllers\BlogController] does not exist. http://localhost:8000/"

Browse Popular Code Answers by Language