Cílová třída [] neexistuje.
composer dump-autoload
illuminate \ contracts \ container \ bindingresolutionexception: Cílová třída laravel 8
Route::get('/users/{name?}' , [SayhelloController::class,'index']);
Route::resource('/users' , SayhelloController::class);