Registry / utility / h4cc-wkhtmltopdf-amd64

h4cc-wkhtmltopdf-amd64

JSON →
library0.12.4phppackagistunverified

Convert html to pdf using webkit (qtwebkit). Static linked linux binary for amd64 systems.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use Knp\Snappy\Pdf;

Generate a PDF from HTML using wkhtmltopdf binary

use Knp\Snappy\Pdf; $snappy = new Pdf('/usr/local/bin/wkhtmltopdf-amd64'); $snappy->generateFromHtml('<h1>Hello World</h1>', '/tmp/output.pdf');
Debug
Known footguns
gotchaRequires the wkhtmltopdf binary to be installed separately; this package only provides the binary for amd64 Linux.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources