use IlluminateValidationRule;
Rule::unique('helpness_type')->where(function($query)use($input){ return $query->where('id','!=',$input['id'])->where('deleted_at', null);})