title: Laravel/Lumen file response
body: <p>I need to stream file content (such as images and other mime types) from a Lumen resource server to a Laravel client server. I know in Laravel I can use:  </p>
  
  <pre><code>$headers = ['Content-Type' =&gt; 'image/png']; 
  $path = storage_path('/mnt/somestorage/example.png')
  return response()-&gt;file($path, $headers);
  </code></pre>
  
  <p>However, the <code>file</code> method is absent in <code>Laravel\Lumen\Http\ResponseFactory</code>.</p>
  
  <p>Any suggestions are very welcome.</p>