I’m on v2
just recently i was playing around with custom templates and i got really frustrated with dompdf as it’s more likely converting a html site to a pdf instead of generating a pdf directly.
For example, the main issues i had is
when your invoice is longer and your table with your products/services exceed a page, it really get awkward. the table header will be repeated out of knowwhere, there’s no page numbers, the header is not repeated each site, and the footer is available on the last page only.
i have been using other pdf generators such as fpdf or mpdf for decades to generate all sorts of pdf files and found it much more versatile having loads of tools to my disposal to generate almost every scenario there could be.
i quickly realized that creating a custom template will be very limiting.
if you ask me, html and pdf should not be build on top of each other in form of one convertes to the other, but individually bringing out the best features when working with a “public” html version, and a generated pdf.