Migration guides
Migrate from wkhtmltopdf, library by library
Install pdfkiln, point your library at its wkhtmltopdf: your code and templates stay as they are. Each guide gives the steps, what the library expects, and what was tested.
- knp-snappy PHP
The PHP wrapper of Symfony bundles and laravel-snappy.
- laravel-snappy PHP, Laravel
knp-snappy for Laravel: two lines of
.env. - phpwkhtmltopdf PHP
mikehaertl’s wrapper: one option, or nothing.
- pdfkit Python
python-pdfkit: nothing to change if it is in the
PATH. - wicked_pdf Ruby on Rails
Drop the
wkhtmltopdf-binarygem, setexe_path. - imgkit Python
Screenshots with pdfkiln’s
wkhtmltoimage. - Odoo ERP
Reports keep their page count; nothing to configure.
- Frappe and ERPNext ERP
HTML headers and footers, with their JavaScript.
- Rotativa .NET
Rotativa.AspNetCore and IIS, on Windows.
Your library is not here? If it calls the wkhtmltopdf command, the same steps apply. The C library libwkhtmltox (DinkToPdf) is not provided.
wkhtmltopdf no longer installs on your system, or worries your security team? See wkhtmltopdf today.