title: Laravel Array Validation Unique with an id
body: <p>How can you use the <code>unique</code> validation rule when updating data with an <code>id</code> parameter so that the validation doesn't fail when just saving an existing value?</p>
  
  <pre><code>'columns.*.name' =&gt; 'required|unique:columns, name, id, columns.id'
  </code></pre>
  
  <p>id needs to be replaced with the value of * from the array but I can't figure out how.</p>