ticketpark/pdf-bundle
Ticketpark PDF Bundle integrates PDF generation into Symfony applications, providing configurable services to convert HTML templates into downloadable PDF documents. Install via Composer and generate invoices, tickets, or reports with minimal setup.
Symfony\Component\HttpKernel-era service definitions. It contributes nothing to a Laravel roadmap; the equivalent decision there is "DocRaptor PHP SDK vs. spatie/laravel-pdf vs. self-hosted Gotenberg."Consider it only if all of the following are true:
Look elsewhere if any of these apply:
docraptor/docraptor PHP client directly — the bundle's value-add is a service definition and a config tree, roughly an afternoon of work you'd rewrite anyway. For Laravel, spatie/laravel-pdf or barryvdh/laravel-dompdf; for modern Symfony, knplabs/knp-snappy (wkhtmltopdf) or mpdf/mpdf.To executives: "There is a small, abandoned open-source helper that connects an old Symfony app to DocRaptor, a paid document-rendering service. It is not a platform; it is roughly 200 lines of configuration glue published in 2015 and untouched since, with no users and no maintainer. I recommend we treat it as a prototype tool only — useful to demo premium PDF quality to a customer or stakeholder in an afternoon, but not something we build a billing or invoicing pipeline on. The strategic decision in front of us is not 'adopt this package,' it's 'are we willing to send customer documents to a third-party renderer, and pay per document for the privilege?' If the answer is yes, we can get there with DocRaptor's own supported SDK in a day. If no, we should budget a self-hosted renderer. Either way, no engineering capacity should be spent maintaining a 2015 bundle."
To engineering: "Don't take a dependency on this. It's a Symfony 2.x DI wrapper over the DocRaptor REST API — no rendering logic, no tests worth inheriting, no upgrade path. If we need DocRaptor, use docraptor/docraptor and wrap it in our own service with a PdfRendererInterface so we can swap in Gotenberg or mpdf later without touching call sites. If someone has already vendored this into a legacy app, treat it as fork-and-own: copy the config, pin the version, and open a ticket to replace it before the next PHP/Symfony upgrade. And to be explicit — this is not a Laravel package and cannot be used as one."
To the sponsor of the PDF initiative: "The 30-minute demo is real value; the dependency is not. Fund a one-week spike that renders our three hardest documents through DocRaptor and through a self-hosted Chromium renderer, and decide on fidelity, data-handling, and cost-per-document. Skip the bundle."
How can I help you explore Laravel packages today?