title: Laravel custom rule required_if and required_without
body: <p>is there a possibility to make a rule for validate an input array like this:</p>
  
  <pre><code>'agent_id.*' =&gt;'nullable|required_with:commission.*|required_with:remuneration.*|integer|exists:agents,id',
  'commission.*' =&gt; ['nullable', 'regex:/^\d+(\.\d{1,2})?$/i', new DocumentFTVDetailCommissionOrRemunerationRule()],
  'remuneration.*' =&gt; ['nullable', 'regex:/^\d+(\.\d{1,2})?$/i', new DocumentFTVDetailRemunerationOrCommissionRule()],
  </code></pre>
  
  <p>-agent_id.* is required with commission.* or remuneration.*</p>
  
  <p>-commission.* is required if there is agent_id.* and remuneration.* is empy or not set</p>
  
  <p>-remuneration.* is required if there is agent_id.* and commission.* is empy or not set</p>
  
  <p>DocumentFTVDetailCommissionOrRemunerationRule() and DocumentFTVDetailRemunerationOrCommissionRule() are the rules that limit the choose at one between commission.* or remuneration.*</p>
  
  <p>Thank you</p>