Convert HTML + CSS to PDF with PHP ?
Some online services which provide best solution to this to use:
This also gives the good solution PrinceXML.
This will surely make the best HTML/CSS to PDF converter all over, and it is not free either the programming might not be free. The alternative solutions require to set up dedicated server with the correct software which will be taken into an account.
Here, an solution which is open source and based on webkit and free was available in
To build it in a current day, take the route as http://pdfkit.org to use it effectively.
In order to run in the browser, stripping all its nodejs dependencies.