Answers for "laravel Target class [HomeController] does not exist."

PHP
0

laravel 8 Target class [FormController] does not exist.

use App\Http\Controllers\UserController;

Route::get('/users', [UserController::class, 'index']);
// or
Route::get('/users', 'App\Http\Controllers\UserController@index');
Posted by: Guest on February-16-2021
2

Target class [SallyController] does not exist.

//In laravel 8 uncomment  protected $namespace='App\\Http\\Controllers';
Posted by: Guest on February-12-2021
0

target class admin homecontroller does not exist laravel 8

Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');
Posted by: Guest on June-02-2021

Code answers related to "laravel Target class [HomeController] does not exist."

Browse Popular Code Answers by Language