title: Laravel 5: Request validate multidimensional array
body: <p>I have forms that submit multidimensional arrays.
  Like:</p>
  
  <pre><code>slide[1][title]
  slide[2][title]
  </code></pre>
  
  <p>Now I use a Request class to define my rules.
  How can I loop through all array items within this class.
  I tried:</p>
  
  <pre><code>public function rules()
  {
      return [
          'id' =&gt; 'required',
          'slide' =&gt; 'array|min:1',
          'slide.*.title' =&gt; 'required|max:255',
          'slide.*.description' =&gt; 'required|max:255',
      ];
  }
  </code></pre>
  
  <p>But it did not work.</p>