TCPDF is a FLOSS PHP class for generating PDF documents.