knplabs/knp-snappy
Snappy is a PHP wrapper for wkhtmltopdf/wkhtmltoimage to generate PDFs, thumbnails, and snapshots from URLs or HTML. Supports Linux/macOS/Windows, configurable binaries and options, and integrates with Symfony and Laravel via community bundles.
Executives: "This package lets us quickly add PDF export capabilities for customer-facing documents like invoices and reports with minimal engineering effort. It's a proven, open-source solution used by thousands of projects, reducing development time and costs while ensuring reliability for our core business features."
Engineering: "It's a lightweight, well-documented wrapper for wkhtmltopdf with seamless Laravel integration via barryvdh/laravel-snappy. Setup is straightforward, but critical to disable --enable-local-file-access and sandbox the binary for security. We can leverage existing community best practices for headers/footers and multi-page handling without reinventing the wheel."
How can I help you explore Laravel packages today?