laravel 대상 클래스가 존재하지 않습니다
Uncomment this line in app>>provider>>RouteServiceProvider.php file
// protected $namespace = 'App\\Http\\Controllers';
대상 클래스[컨트롤러]가 존재하지 않습니다.
//accessing any function in the controller (this is web.php file)
use App\Http\Controllers\PostsController;
Route::get('/post', 'App\Http\Controllers\PostsController@index');
대상 클래스[]가 존재하지 않습니다.
composer dump-autoload
대상 클래스[PlayerController]가 존재하지 않습니다.
//add controller path
Route::get('/players', 'App\Http\Controllers\PlayerController@index');
대상 클래스[컨트롤러]가 존재하지 않습니다.
Route::get('/users', [UserController::class, 'index']);