I am working on a Laravel project for an admission system, and it may need to generate a lot of letters and PDFs that can be edited by users. Specifically, the content and paragraphs in the letter may be editable, but they also need to include dynamic data fetched from a MySQL database, such as $student->id.
I have looked into FPDF and TCPDF but am struggling to understand how to use them for my requirements. Could someone provide a clear guide or recommend a better approach to generate editable PDFs in Laravel using data from MySQL?
I’m currently using Bootstrap form editor and Quill editor for text editing (which I don’t know if it built for this)