My findings on PHP engine to export HTML page to PDF or Excel file.
- using mpdf class. sample on stackoverflow
- pdfcrowd. convert pdf on cloud
- html2pdf
- dompdf
To generate pdf and send as attachment an email (youtube video)
https://www.youtube.com/watch?v=-ZlCVVnp_Aw
Generate pdf with dompdf and codeigniter
https://www.youtube.com/watch?v=QaJv8sc4xkU
Convert div in html to pdf using jsPDF
https://www.codexworld.com/convert-html-to-pdf-using-javascript-jspdf/
https://stackoverflow.com/questions/18191893/generate-pdf-from-html-in-div-using-javascript