3
I have a view on Laravel where I load multiple charts. This view is composed of HTML, Images, CSS and JS.
I need to convert (export) this page to PDF via a JS or PHP function.
I can’t find a library that "copy" faithfully the page and export it in PDF. The closest I got was Dompdf, but more mess...
I tried to use the Dompdf and the jsPSF.
How could I do that ?
I was reading this post: /a/74300/23919
But it works on a hosted server ?
Your CSS must be complex... and the library doesn’t support everything.
– Klaider
Yes. So I want something to do it faithfully.
– Diego Souza
I did a quick search on this. Have a look at this link: http://www.mpdf1.com/
– Lucas Lopes