I want to validate email. Suppose if a customer give an email address like "demo@gmail" it gives an validation error. Email should be "[email protected]".What is the code to do this validation.I do it but not working properly.My code in below:
$request->validate([
'email'=>'required|email',
]);
.com
– Sumatra