Form Request Validation
Keep registration validation in a Form Request:
php
public function rules(): array
{
return [
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'email', 'disposable_email'],
'password' => ['required', 'confirmed', 'min:8'],
];
}Laravel will return the normal validation response when the address belongs to a blocked domain.
For stricter format or DNS checks, see RFC / DNS Validation.