paper
paper copied to clipboard
Chromium Headless
Just posting this is an idea, because I currently don't have time to investigate, but might be interesting to use headless mode in Chromium 59+.
Options: https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF Discussion: https://bugs.chromium.org/p/chromium/issues/detail?id=603559 PHP example connecting to Chromium in general using websockets: https://gitlab.com/DMore/chrome-mink-driver/blob/master/src/ChromeDriver.php
If I have some time, perhaps I'd give it a try.
(I also maintain a few package wrappers for dompdf and wkhtmltopdf for Laravel, but you project does look interesting :) )