KnpLabs/snappy

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

59
/ 100
Established

This tool helps developers create PDF documents, image thumbnails, or full-page snapshots directly from web pages or HTML content. It takes a URL or HTML code as input and outputs a PDF file or an image. Developers who need to programmatically generate documents or visual representations of web content within their PHP applications would use this.

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

Use this if you are a PHP developer needing to convert web pages or HTML strings into PDFs or images within your application.

Not ideal if you need a graphical user interface (GUI) tool for manual PDF/image conversion or if you're not a PHP developer.

PHP development document generation web content rendering image creation reporting
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.