title: How to generate temporary file download url for laravel local storage?
body: <p>From Laravel official documentation:</p>
  
  <blockquote>
    <p>For files stored using the s3 or rackspace driver, you may create a
    temporary URL to a given file using the temporaryUrl method.</p>
  </blockquote>
  
  <p>Is there any way to have temporary download url for files rather than using s3/etc and for <strong>local storage only</strong>. I am using <a href="https://github.com/spatie/laravel-medialibrary" rel="nofollow noreferrer">https://github.com/spatie/laravel-medialibrary</a> library for development.</p>