title: Save multiple upload with clientOriginalName
body: <p>hy everyone,, i want to upload multiple file with OriginalClientName, save into database with column called <strong>"document"</strong> but when data saved into database the file when uploading is not same the name,, i am upload file with name "cv bimo.docx", but in database, the name like this:</p>
  
  <pre><code>C:\Users\bimo_an\AppData\Local\Temp\phpAAF.tmp
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/UKnKn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UKnKn.png" alt="enter image description here"></a></p>
  
  <p>i already using method <strong>getClientOriginalName()</strong>,,</p>
  
  <p>this is my Function controller code :</p>
  
  <pre><code>..............................
   $uploadFile = $request-&gt;file('document');
          foreach($uploadFile as $file){
            $filename = $file-&gt;getClientOriginalName();
            $folder[] = $file-&gt;storeAs('uploads', $filename);
          }
          $data = [
                          'mto_number'=&gt;$request-&gt;txtDocNumber,
                          'item_code'=&gt;$request-&gt;txtItemCode[$key],
                          'required_qty'=&gt;$request-&gt;txtRequiredQty[$key],
                          'spare_qty'=&gt;$request-&gt;txtSpareQty[$key],
                          // 'file' =&gt; $path[$key]
                          'category' =&gt; $request-&gt;category[$key],
                          'document' =&gt; $file
          ];
          ModelMTOItem::insert($data);
  </code></pre>