title: How to do validation for multiple images upload in laravel 5.3
body: <p>I've an input </p>
  
  <pre><code>    &lt;input type="file" name="image[]" multiple="multiple" /&gt;
  </code></pre>
  
  <p>and controller function </p>
  
  <pre><code>public function upload(Request $request)
  {
      $user_id = Auth::user()-&gt;id;
  
      foreach ($request-&gt;image as $image)
      {
          $this-&gt;validate($request,[
          'image' =&gt; 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048'
      ]);
          $imageName = mt_rand() .time().'.'.$image-&gt;getClientOriginalExtension();
          $img = Image::make($image-&gt;getRealPath());
          $img-&gt;resize(100, 100, function ($constraint) {
                                      $constraint-&gt;aspectRatio();
                      })-&gt;save(public_path('images/thumbs').'/'.$imageName);
          $image-&gt;move(public_path('images'), $imageName);
      }
  }
  </code></pre>
  
  <p>but all the time validator gives me error that</p>
  
  <pre><code>    The image must be an image.
  </code></pre>