please I want know if there is any method to validate an input if exists in column email or username
without deal with code just validation system in laravel like
I want to make a 'LOST PASSWORD' like wordpress
wordpress lost password system ask the users for email or username if exits it's okey if it's not display an error message
without deal with code just validation system in laravel like
Code:
'username'=>'required|exists:App\Models\User,email OR exists:App\Models\User,username'
wordpress lost password system ask the users for email or username if exits it's okey if it's not display an error message