laravel unique column except self code example Example: laravel unique column except self 'required|unique:users,email,'.$this->id . ',user_id';