Has anyone dealt with creating pdf templates on the server and then filling them in with data?
For example if there is a form that a user fills out. When they submit I would like to grab a PDF that is already on the server, edit the fields with the submitted form data, generate a new pdf and save back to the server.
Very similar to using a third party like Hello SIgn, but brining that in house so I don't have to use a service.
You can use Blade templates to generate the PDFs. Not quite what you were asking for but I don't think there's anything out there that fits your needs exactly.
What if I already have a PDF. Every time someone fills out some information. That PDF is used and then the data that is entered gets put in that existing pdf as a new pdf.
I don't think you can accomplish the PDF generating without a HTML representation of the PDF. You have to create a HTML template for the PDF and then generate the filled PDF. I think that's the only way.
So it looks like I have to convert existing pdfs into HTML.
Or just start new with having the person fill out a form store that data and when you are ready to generate the PDF generate with the stored data from database. I don't know if that would work for you or not but just an idea.