evosys21/pdflib
A PHP library for FPDF, TCPDF, and tFPDF that adds advanced multicell and table support. Build tag-formatted text with custom fonts, colors, links, alignment, and padding, plus feature-rich tables for PDF reports.
Feature / roadmap decisions
underline support and Laravel Pint adoption. These are incremental maintenance items, not a reason to adopt. Product framing should center on multicell + table capability, not underline styling.Risk and sequencing decisions
Consider adoption when:
Look elsewhere when:
Adoption gates before commit:
For executives (one paragraph):
We have a recurring class of document features — invoices, statements, compliance letters, certificates, report exports — that need formatted text and multi-page, multi-column tables. evosys21/pdflib is a small MIT-licensed PHP add-on for FPDF/TCPDF/tFPDF that supplies exactly those two capabilities, with examples and documentation, at effectively zero licensing cost. It lets us ship these features without buying a document-generation platform or building a layout engine, and it sits behind a swap-ready interface so the commitment is reversible. The honest caveat: it is a small, low-adoption open-source project (5 stars, no known dependents), so we should use it for standard business documents, not for high-volume revenue-critical output, until we've validated it on our hardest template. Recommendation: approve a short, time-boxed spike, not a broad rollout — expect a decision within one sprint at minimal engineering cost.
For engineering leads:
Pdf subclass (EvoSys21\PdfLib\Fpdf\Pdf, Tcpdf\Pdf, Tfpdf\Pdf) instead of your own, because it needs access to protected width/margin/font properties that FPDF exposes no setters for. If we already subclass FPDF/TCPDF, that's a real refactor — scope it.DocumentRenderer interface. Domain code produces a document model; the adapter renders it. This makes the library a swappable detail and contains the blast radius if the project stalls.How can I help you explore Laravel packages today?