KnpLabs/snappy
PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage
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.
Stars
4,472
Forks
437
Language
PHP
License
MIT
Category
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.
Compare
Related tools
vercel/satori
Enlightened library to convert HTML and CSS to SVG
elegantapp/pwa-asset-generator
Automates PWA asset generation and image declaration. Automatically generates icon and splash...
kyranet/canvas-constructor
An ES6 utility for canvas with built-in functions and chained methods.
KnpLabs/KnpSnappyBundle
Easily create PDF and images in Symfony by converting html using webkit
ScientaNL/pdf-extractor
Node.js module for rendering pdf pages to images, svgs, html files, text files and json metadata