All the binaries for Centos6 from http://wkhtmltopdf.org/downloads.html
-
Install Composer:
curl -s https://getcomposer.org/installer | php
-
Add to your
composer.json
file:{ "require": { "profburial/wkhtmltopdf-binaries-centos6": "0.12.2.1" } }
-
All the binaries are symlinked to the following paths:
vendor/bin/wkhtmltoimage-amd64-centos6
vendor/bin/wkhtmltoimage-i386-centos6
vendor/bin/wkhtmltopdf-amd64-centos6
vendor/bin/wkhtmltopdf-i386-centos6
Enjoy the bin files!