title: Laravel 5.3 multiple file uploads
body: <p>How can I upload multiple files in <code>Laravel 5.3</code>.
  If I try it with 1 image it works but multiple images are not uploaded.</p>
  
  <p>This is my code:</p>
  
  <pre><code>if($request-&gt;hasFile('attachment')) {
      foreach($request-&gt;allFiles('attachments') as $file) {
          $file-&gt;store('users/' . $user-&gt;id . '/messages');
      }
  }
  </code></pre>