laravel-snappy on local mac?

Posted 4 years ago by rappasoft

I'm trying to install https://github.com/barryvdh/laravel-snappy on my local mac for html to pdf conversions. I have https://github.com/barryvdh/laravel-dompdf installed but I can't get the loading of the stylesheet working so i'm trying this solution.

Anyway, I have all the dependencies and paths hooked up, but when I try to run it I get:

.../vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64: cannot execute binary file

Anyone have this issue?

Edit:

For anyone wondering, you need these for mac: https://github.com/yukihr/wkhtmltopdf-0.12.0-build-osx-10.9.1

However I'm getting the same output as dompdf, so what are the big pros of snappy over dompdf?

Please sign in or create an account to participate in this conversation.