I've been reading up on creating a PDF file with PHP and am wondering what the easiest option is.
Create a PDF template, open it and replace placeholder text -- which function do I use to open an existing PDF for editing?
Create a PDF template and place text on it using co-ordinates
Create a HTML document then convert it to PDF using some sort of free tool?
Create a PDF from scratch using PHP (this seams like a time consuming way to do it).
The following link has an article describing these two PDF generating class libraries: Easily create PDF with PHP