KnpLabs/snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

59
/ 100
Established

Provides fluent object-oriented wrappers around wkhtmltopdf/wkhtmltoimage binaries, exposing fine-grained control over rendering options (JavaScript toggling, cookies, POST data, table of contents generation, custom stylesheets) and supporting batch operations like merging multiple URLs into single PDFs. Integrates natively with Symfony, Laravel, and Zend Framework through dedicated bundles, while maintaining a lightweight architecture that delegates rendering to webkit-based command-line tools.

4,472 stars. Actively maintained with 2 commits in the last 30 days.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

4,472

Forks

437

Language

PHP

License

MIT

Last pushed

Feb 20, 2026

Commits (30d)

2

Get this data via API

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

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