class 'app http controllers validator' not found in laravel code example
Example 1: Class 'App\Http\Controllers\Validator' not found
use Illuminate\Support\Facades\Validator;
Example 2: 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;