Closed RyanPaiva56 closed 1 year ago
I swear to god I worked on this for like 20 minutes, and as soon as I posted the issue, I thought of needing to use base_path. For anyone else who googles this here ya go:
$snappy = new Pdf(base_path() . '/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64');
Hi, I tried a ton of things and still not able to get it to work:
I installed via composer:
https://github.com/h4cc/wkhtmltopdf-amd64
Here's my controller code:
I get this error:
Any ideas?