Class 'App\Http\Controllers\Validator' not found
use Illuminate\Support\Facades\Validator;
Class 'App\Http\Controllers\Validator' not found
use Illuminate\Support\Facades\Validator;
Class 'App\Http\Controllers\Auth' not found
Because your controller is namespaced unless you specifically import the Auth namespace, PHP will assume it's under the namespace of the class, giving this error.
To fix this, add use Auth; at the top of AdminHomeController file along with your other use statements or alternatively prefix all instances of Auth with backslash like this: \Auth to let PHP know to load it from the global namespace.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us