vel/mpdf-bundle
vel/mpdf-bundle integrates the mPDF library into Laravel, providing bundle-style configuration and service provider wiring for generating PDFs from HTML. It aims to simplify PDF output in Laravel apps, but adoption and community activity are very limited.
vel/mpdf-bundle is a Symfony bundle — a thin DI/service wrapper around the mPDF class. Any Laravel roadmap item that assumes drop-in Laravel integration is based on a misread of the package. The real decision this package informs is "do we adopt a framework-specific wrapper at all, or depend on mpdf/mpdf directly?"barryvdh/laravel-dompdf, spatie/laravel-pdf, or direct mpdf/mpdf), not a platform initiative. If PDF output is strategic (customer-facing branded documents, high-volume generation, accessibility), the decision shifts toward a rendering service or a hosted API — which deprioritizes this package entirely.Consider it only in a narrow band:
Look elsewhere when:
mpdf/mpdf directly behind a small service class, or barryvdh/laravel-dompdf if Dompdf's CSS limitations are acceptable, or spatie/laravel-pdf if you want a more actively maintained abstraction.Executive summary (recommendation: do not adopt). We evaluated vel/mpdf-bundle as a candidate for PDF document generation and recommend against it. Three findings drive this: it is a Symfony bundle, not a Laravel package, so it does not fit our stack; it is a thin wrapper around the open-source mPDF library, meaning the actual capability is available to us without it; and it has effectively no adoption (2 stars, 0 dependents), which is an unacceptable support risk for a customer-facing feature. The cost of the alternative is small — roughly one to two engineer-days — so we lose no meaningful velocity by declining.
For engineering. We will depend on mpdf/mpdf directly behind a thin internal service, or use a maintained Laravel abstraction if we prefer. This keeps us on a library with real usage rather than a single-maintainer wrapper, and leaves the integration surface small enough to swap renderers later. If Symfony ever enters our stack, revisit — but even then, the wrapper is trivial to reproduce in-house, so a dependency earns its place only if it is actively maintained.
For the roadmap. PDF output should be scoped as a feature task, not a platform bet — unless document fidelity at volume becomes a differentiator, in which case we should evaluate headless-Chrome rendering or a hosted API rather than a PHP wrapper. Either way, this package is off the shortlist, and we should correct the internal catalog entry that currently classifies it as a Laravel/PHP package so the same misclassification does not resurface in a future evaluation.
How can I help you explore Laravel packages today?