title: laravel-snappy pdf generation fails with no error
body: <p>I have installed laravel-snappy following the instructions on <a href="https://github.com/barryvdh/laravel-snappy" rel="nofollow noreferrer">https://github.com/barryvdh/laravel-snappy</a></p>
  
  <p>Following the installation I tested wkhtmltopdf and it works:</p>
  
  <pre><code>vagrant@homestead:/usr/local/bin$ /usr/local/bin/wkhtmltopdf google.com /tmp/google.pdf
  Loading pages (1/6)
  Counting pages (2/6)
  Resolving links (4/6)
  Loading headers and footers (5/6)
  Printing pages (6/6)
  Done
  </code></pre>
  
  <p>I can confirm the pdf exists:</p>
  
  <pre><code>vagrant@homestead:/tmp$ ls
  google.pdf
  </code></pre>
  
  <p>This is the contents of the snappy.php file:</p>
  
  <p>
  
  <pre><code>return array(
  
  
      'pdf' =&gt; array(
          'enabled' =&gt; true,
          'binary'  =&gt; '/usr/local/bin/wkhtmltopdf',
          'timeout' =&gt; false,
          'options' =&gt; array(),
          'env'     =&gt; array(),
      ),
      'image' =&gt; array(
          'enabled' =&gt; true,
          'binary'  =&gt; '/usr/local/bin/wkhtmltoimage',
          'timeout' =&gt; false,
          'options' =&gt; array(),
          'env'     =&gt; array(),
      ),
  
  
  );
  </code></pre>
  
  <p>However when I run this in my Controller, nothing happens. No error message and no file generated:</p>
  
  <pre><code>function pdfreport($id)
  
  {
      $html = '&lt;h1&gt;hi&lt;/h1&gt;';
  
      $pdf = PDF::loadHTML($html)-&gt;setPaper('a4')-&gt;setOrientation('portrait');
  
      return $pdf-&gt;download('test.pdf');
  
  }
  </code></pre>
  
  <p>I was expecting the pdf to start downloading. What could be the issue?</p>