This has been asked to some degree before but there are no solutions or accepted answers and I\'d like to try and be more comprehensive in my question so:
Have a look at snappy, a PHP5 library allowing thumbnail, snapshot or PDF generation from a url or a html page. It's a wrapper for wkhtmltopdf/wkhtmltoimage.