laravel request email adress rule code example
Example 1: email validation in laravel
'email' => 'required|email|unique:users,email',
//@sujay
Example 2: laravel validation
Rule::unique('users')->ignore($user->id, 'user_id')
'email' => 'required|email|unique:users,email',
//@sujay
Rule::unique('users')->ignore($user->id, 'user_id')