Target class [Controller] does not exist.
//accessing any function in the controller (this is web.php file)
use App\Http\Controllers\PostsController;
Route::get('/post', 'App\Http\Controllers\PostsController@index');
Target class [Controller] does not exist.
//accessing any function in the controller (this is web.php file)
use App\Http\Controllers\PostsController;
Route::get('/post', 'App\Http\Controllers\PostsController@index');
Target class [Barryvdh\Cors\HandleCors] does not exist.
#Add [Barryvdh\Cors\HandleCors] to $middlewareGroups in Kernel.php
'cors' => [
\Barryvdh\Cors\HandleCors::class,
],
laravel target class does not exist
Uncomment this line in app>>provider>>RouteServiceProvider.php file
// protected $namespace = 'App\\Http\\Controllers';
Target class [Controller] does not exist.
Route::get('/users', [UserController::class, 'index']);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us