$validator = Validator::make($request->all(), []); $validator->sometimes('email', 'unique:users,email', function ($input) { return $input->email !== Auth::user()->email; }); //@sujay