title: how to solve laravel/snappy error code 127?
body: <p>Recently i have updated laravel to version 7 and when i want to download the pdf from laravel/snappy i get this error :</p>
  <pre><code>The exit status code '127' says something went wrong:\nstderr: \&quot;sh: 1: /usr/local/bin/wkhtmltopdf: not found\n\&quot;\nstdout: \&quot;\&quot;\ncommand: /usr/local/bin/wkhtmltopdf --lowquality --orientation 'landscape' --page-size 'a4' --encoding 'utf-8' '/tmp/knp_snappy5fa9279006a045.56009440.html' '/tmp/knp_snappy5fa9279006aaf0.09066361.pdf
  </code></pre>
  <p>original code generating this error :</p>
  <pre><code>$data['company'] = $this-&gt;user-&gt;company-&gt;toArray();
          $data['departments'] = $this-&gt;user-&gt;company-&gt;departments-&gt;toArray();
  
          $this-&gt;prepareText($data);
  
          /* @var $pdf PdfWrapper */
          $pdf = App::make('snappy.pdf.wrapper');
          $pdf-&gt;loadView('ticket.index', compact('data'))
              -&gt;setOrientation('landscape')
              -&gt;setOption('encoding', 'utf-8')
              -&gt;setPaper('a4');
  
          return $pdf-&gt;inline(sprintf('Employee-Report-(%s).pdf', Jalalian::forge('now')
              -&gt;format('Y-m-d')));
  </code></pre>