I need to generate PDF report in Laravel 4. I found several alternatives and I'm in doubt about which option is best:
-
DOMPDF ( alternative link )
It seems very easy to use, since it is our good old HTML plus CSS, however I did not understand how I will do the header / footer and the page break. -
FPDF
I've known for some time, but you have to write a lot to get the PDF to work. -
TCPDF
I do not know anything about this version.
Question: How to use DOMPDF / Laravel to render a view through BLADE? Or would it be simpler to use one of the other two libraries listed above?