title: how to save pdf in directory laravel 4.2 using dompdf
body: <p>i have followed this example <a href="https://imron02.wordpress.com/2014/06/08/laravel-4-create-pdf-use-dompdf/" rel="nofollow">laravel-4-create-pdf-use-dompdf</a>:</p>
  
  <p>i want to save pdf in directory not pdf preview in the browser.</p>
  
  <p>My current code:</p>
  
  <pre><code>    $pdf = \App::make('dompdf');
      $pdf-&gt;loadHTML('&lt;h1&gt;Hello World!!&lt;/h1&gt;');
      return $pdf-&gt;stream("order_email.pdf");
  </code></pre>
  
  <p>but what this code is doing, it shows my "Hello World" text as PDF in the browser but not saving "order_email.pdf" anywhere in my working directory. </p>