App\Http\Controllers\Validator not found
use Illuminate\Support\Facades\Validator; # most likely you will need these 2 too use Illuminate\Support\Facades\Hash; use App\User;
Here is what the above code is Doing:
1. We are importing the Illuminate\Foundation\Auth\RegistersUsers trait.
2. We are importing the Illuminate\Support\Facades\Validator facade.
3. We are importing the Illuminate\Support\Facades\Hash facade.
4. We are importing the App\User model.