Create PDF from PHP

How can i create PDF files from PHP?

 

There are 2 libraries for this that can be used.

One is FPDF, you can find more information at: http://fpdf.org/

The other existing option is TCPDF, more information can be found at: http://www.tcpdf.org/