title: Laravel file download - php_fileinfo extension not enabled
body: <p>I'm using Laravel 5.4.13 with PHP 7.1 and I migrated to a shared hosting. I'm trying to make the website work, but I'm unable because of a missing extension: <code>php_fileinfo</code></p>
  
  <p>This is the code where the website crashes:</p>
  
  <pre><code>$file = base_path() . "/storage/app/public/small.mp4";
  return response()-&gt;download($file, "small.mp4")-&gt;deleteFileAfterSend(true);
  </code></pre>
  
  <p>and this is the error what Laravel gives:</p>
  
  <pre><code>LogicException in MimeTypeGuesser.php line 135:
  Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)
  </code></pre>
  
  <p>I contacted the web hosting company and they told me that they can't enable this extension because of security measurements.</p>
  
  <p>What alternative I have? Is there any other Laravel/PHP function to download a file? Should I use a different framework?</p>