snappy and KnpSnappyBundle

The Bundle is a Symfony wrapper/integration layer for the standalone library, making them ecosystem siblings where the Bundle provides framework-specific convenience for the core tool.

snappy
59
Established
KnpSnappyBundle
57
Established
Maintenance 13/25
Adoption 10/25
Maturity 16/25
Community 20/25
Maintenance 10/25
Adoption 10/25
Maturity 16/25
Community 21/25
Stars: 4,472
Forks: 437
Downloads:
Commits (30d): 2
Language: PHP
License: MIT
Stars: 1,245
Forks: 143
Downloads:
Commits (30d): 0
Language: PHP
License: MIT
No Package No Dependents
No Package No Dependents

About snappy

KnpLabs/snappy

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

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.

About KnpSnappyBundle

KnpLabs/KnpSnappyBundle

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

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work