Answers for "target class admincontroller does not exist. laravel 8"

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
0

Target class [UserController] does not exist.

Note: don't forget to import (use) your controller in the routes(web.php) file at the top. Like:
use App\Http\Controllers\PagesController;

Route::get('/',[PagesController::class, 'index']);
Posted by: Guest on February-25-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 "target class admincontroller does not exist. laravel 8"

Browse Popular Code Answers by Language