There are 2 main classes available on the net.
1. DOMPDF (http://www.digitaljunkies.ca/dompdf/downloads.php)
2. TCPDF (http://tcpdf.sourceforge.net)
Sharing personal experience with you regarding to the both classes.
1. Dompdf:
- It is a primitive class for html to pdf conversion. But it has not been updated since 2 years.
- This class cannot handle pages properly.
- Configuration hassle.
- Images manipulation is not perfect.
- It takes a lot of memory and loading time.
- Easy to code.
- Easy to configure.
- It can handle graphs.
- It supports PDF commands.
- It can convert html to pdf forms.
- CSS reading capability is superb.
- Html handling is much better than DOMPDF.
- Images manipulation is very good.
- Require understanding with the code.
- Loads fast as compared to DOMPDF.
- It does not require any other library or specs.
- For image manipulation it uses GD2 Lib.
Thanks.

Yep, dompdf is not a panacée, I hope tcpdf is worth to check because there is nothing else valuable in the php html conversion world.
ReplyDeleteDid youy have a look at the jodconverter solution ?