title: Laravel 5.5 Validate multiple file upload
body: <p>How do I validate multiple file uploads using only one validation on laravel?</p>
  
  <pre><code>$this-&gt;validate($request, [
      'project'           =&gt; 'required|exists:project_details,id',
      'location'          =&gt; 'exists:project_details,location',
      'plant_id'          =&gt; 'exists:project_details,plant_id',
      'capacity'          =&gt; 'required|max:20',
      'brief_description' =&gt; 'nullable|max:300',
      'incident_details'  =&gt; 'required|max:300',
      'other_comments'    =&gt; 'nullable|max:300',
      'attachments.*'     =&gt; 'required|file|mimes:xlsx,xls,csv,jpg,jpeg,png,bmp,doc,docx,pdf,tif,tiff'
  ]);
  </code></pre>
  
  <p>I'm trying to validate the attachments.
  Here's my form:</p>
  
  <pre><code>&lt;input type="file" name="attachments[]" multiple&gt;
  </code></pre>