mreiferson / php-wkhtmltox

PHP bindings for libwkhtmltox
MIT License
309 stars 60 forks source link

PHP bindings for the fabulous libwkhtmltox

Special thanks to antialize for creating wkhtmltopdf

For parameters and settings (for users familiar with the command line utility) see:

http://wkhtmltopdf.org/libwkhtmltox/pagesettings.html

Installation

$ phpize
$ ./configure
$ make install

edit your php.ini and add:

extension=phpwkhtmltox.so

Tested on:

Pre-requisites on all platforms:

OSX Notes:

Until this bug is fixed you need qt_menu.nib directory from the QT source tree in the same directory as your libwkhtmltox.* library files