I need a PHP class that generates a fixed one-page PDF.
The desired output you find as PDF and Word document attached.
The desired PHP class only has one public function called generateWelcomeLetter and gives back the raw PDF file contents.
As parameters the function shall take:
All Fields are just printed as they are.
* If Company or AddressAddition are empty, don't print the line at all in the address (no empty line)
** Gender can be male or female: Take the appropriate salutation line then
*** Start code is given as one 16 digit value - in example: 4985273349169831
**** There's also an entry "Datum" which means date and has to be filled with the already formated and given Date value.
Please state in your bid which function/library you want to use in PHP to generate the PDF.