I have checked my credentials with an authenticator and want to check if the username exists in the phone or email column, but I don't know how.
Thanks for any ideas
For example:
$rules = [
'email' => 'required|exists:users,[email, phone]'
];
$messages = [
'email.exists' => '......',
];
Validator::make($request->all(), $rules, $messages)->validate();