KnpLabs/KnpSnappyBundle
Easily create PDF and images in Symfony by converting html using webkit observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 61
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 18
- age_days: 5911
- days_rel: 238
- days_push: 238
- n_releases_24m: 4
Adoption not part of the score
1247 stars · 140 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony bundle integrating the Snappy PHP wrapper around wkhtmltopdf/wkhtmltoimage, letting Symfony apps convert HTML documents or URLs into PDF files and images via the WebKit engine. It registers configurable services for PDF and image generation.
Use cases
- generate pdf invoices from html templates in symfony
- convert html page to pdf for download
- render a url to an image screenshot
- create pdf reports from twig views
- export html to image in php
When to choose
- you have a Symfony app and need server-side HTML-to-PDF or HTML-to-image conversion
- your HTML is simple and doesn't rely on modern ES6 JavaScript
- you want a maintained wrapper around wkhtmltopdf with Symfony service integration
When to avoid
- your pages depend heavily on modern JavaScript/ES6 rendering, since wkhtmltopdf lacks full ES6 support
- you need pixel-perfect rendering of complex modern CSS
- you're not using Symfony and only need the underlying Snappy library
Facets
plugin · maturity active
pdf image-processing templating web-development pdf files php self-hosted symfony-bundle wkhtmltopdf html-to-pdf html-to-image pdf-generation web-server
2 sources
- readme: https://github.com/KnpLabs/KnpSnappyBundle · fetched 2026-08-28 · e525918b71a8
- homepage: http://knplabs.com · fetched 2026-08-29 · 3e099e7188ae
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| KnpLabs/KnpSnappyBundle | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="KnpLabs/KnpSnappyBundle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem