Cílová třída laravel neexistuje
Uncomment this line in app>>provider>>RouteServiceProvider.php file
// protected $namespace = 'App\\Http\\Controllers';
Cílová třída [Controller] neexistuje.
//accessing any function in the controller (this is web.php file)
use App\Http\Controllers\PostsController;
Route::get('/post', 'App\Http\Controllers\PostsController@index');
Cílová třída [] neexistuje.
composer dump-autoload
Cílová třída [PlayerController] neexistuje.
//add controller path
Route::get('/players', 'App\Http\Controllers\PlayerController@index');
Cílová třída [Controller] neexistuje.
Route::get('/users', [UserController::class, 'index']);