imal-h/pdf-box (packagist): Current Release of PDFlib provide you methods to convert PDF to Images as well as Images to PDF.
Keywords: convert|ghostscript|PHP wrapper|Imal hasaranga|pdf to images|images to pdf|PDFlib for Php