KnpLabs/KnpSnappyBundle

Easily create PDF and images in Symfony by converting html using webkit

50
/ 100
Established

Wraps the Snappy PHP library to expose `knp_snappy.pdf` and `knp_snappy.image` services, enabling direct HTML-to-document conversion from Twig templates or URLs with configurable wkhtmltopdf binaries and process timeouts. Supports batch PDF generation from multiple URLs and includes response classes (PdfResponse, JpegResponse) for streamlined controller integration. Note that ES6 JavaScript compatibility is limited due to wkhtmltopdf's webkit engine constraints.

1,245 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 21 / 25

How are scores calculated?

Stars

1,245

Forks

143

Language

PHP

License

MIT

Last pushed

Jan 07, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/KnpLabs/KnpSnappyBundle"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.