title: Laravel 5 barryvdh/laravel-dompdf time exceeded
body: <p>I'm using DOMPDF in my project and I making some tests before I implement in my system but very time I ran the service it show me that 60 seconds time exceeded,
  First I created a controller:</p>
  
  <pre><code> public function invoice() 
      {
          $data = $this-&gt;getData();
          $date = date('Y-m-d');
          $invoice = "2222";
          $view =  \View::make('pdf.invoice', compact('data', 'date', 'invoice'))-&gt;render();
          $pdf = \App::make('dompdf.wrapper');
          $pdf-&gt;loadHTML($view);
          return $pdf-&gt;stream('invoice');
      }
  
      public function getData() 
      {
          $data =  [
              'quantity'      =&gt; '1' ,
              'description'   =&gt; 'some ramdom text',
              'price'   =&gt; '500',
              'total'     =&gt; '500'
          ];
          return $data;
      }
  </code></pre>
  
  <p>then I add the route :</p>
  
  <pre><code>Route::get('pdf', 'PdfController@invoice');
  </code></pre>
  
  <p>The last part I add is a folder in view with the name pdf and the file invoice.blade.php:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt;
      &lt;title&gt;Example 2&lt;/title&gt;
      &lt;link rel="stylesheet" href="{{asset('plugins/bootstrap/css/bootstrap.css')}}"&gt;
    &lt;/head&gt;
    &lt;body&gt;
  
      &lt;main&gt;
        &lt;div id="details" class="clearfix"&gt;
          &lt;div id="invoice"&gt;
            &lt;h1&gt;INVOICE {{ $invoice }}&lt;/h1&gt;
            &lt;div class="date"&gt;Date of Invoice: {{ $date }}&lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;table border="0" cellspacing="0" cellpadding="0"&gt;
          &lt;thead&gt;
            &lt;tr&gt;
              &lt;th class="no"&gt;#&lt;/th&gt;
              &lt;th class="desc"&gt;DESCRIPTION&lt;/th&gt;
              &lt;th class="unit"&gt;UNIT PRICE&lt;/th&gt;
              &lt;th class="total"&gt;TOTAL&lt;/th&gt;
            &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
            &lt;tr&gt;
              &lt;td class="no"&gt;{{ $data['quantity'] }}&lt;/td&gt;
              &lt;td class="desc"&gt;{{ $data['description'] }}&lt;/td&gt;
              &lt;td class="unit"&gt;{{ $data['price'] }}&lt;/td&gt;
              &lt;td class="total"&gt;{{ $data['total'] }} &lt;/td&gt;
            &lt;/tr&gt;
  
          &lt;/tbody&gt;
          &lt;tfoot&gt;
            &lt;tr&gt;
              &lt;td colspan="2"&gt;&lt;/td&gt;
              &lt;td &gt;TOTAL&lt;/td&gt;
              &lt;td&gt;$6,500.00&lt;/td&gt;
            &lt;/tr&gt;
          &lt;/tfoot&gt;
        &lt;/table&gt;
    &lt;/body&gt;
    &lt;script src="{{asset('plugins/jquery/js/jquery-2.1.4.js')}}"&gt;&lt;/script&gt;
    &lt;script src="{{asset('plugins/bootstrap/js/bootstrap.js')}}" &gt;&lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>URL: <code>http://localhost:8000/pdf</code></p>
  
  <p>I really appreciate if some one can tell me where is my mistake.</p>