littlerocket/pdf-bundle
littlerocket/pdf-bundle adds PDF generation to PHP applications, wrapping a PDF engine in a simple, configurable service for rendering HTML to PDF and streaming or saving documents. Lightweight setup and sensible defaults for common PDF workflows.
Consider it only when all of the following hold:
Look elsewhere when any of the following hold:
To executives: This is a maintenance-only library that wraps an abandoned PDF engine, patched for a PHP version that is itself end-of-life. It has no meaningful adoption — zero dependent packages and no community — which means no one else is finding and fixing its bugs, and we would be on our own for security issues. I do not recommend adopting it for any new capability. If it is already in our stack, treat it as a tracked liability that gates our PHP 8 upgrade and fund a renderer replacement behind our existing template interface rather than a rewrite.
To engineering: Treat it as legacy-only. If we must keep it, pin the exact version, isolate every call behind a PDF-renderer interface, and add a contract test suite over the output so a future swap is mechanical. Do not let it spread into new services. In parallel, spike two replacements — a headless-Chromium renderer for fidelity and a lightweight PHP renderer for constrained runtimes — and pick based on document complexity, not installation ease.
Bottom line for the roadmap: Not a strategic dependency. It supports one narrow decision — how to keep legacy PDF output alive until we migrate — and it argues for scheduling that migration rather than deferring it.
How can I help you explore Laravel packages today?