Generate PDF with placeholders [closed]

I’m looking for a method to generate a PDF in Laravel that has placeholders in it. I have found a lot of information about parsing existing documents and filling in the placeholders but can’t find anything about how to generate a PDF with placeholders in it.

The use case for this is the ability to programatically create a PDF that can be then sent to a third part signing agent (such as DocuSign) to be digitally signed and sent back. The third party we’re working with requires a placeholder to be created (named “ParsingIdentifer”) that their software can then read.

I have found instructions on how to create a placeholder using something like Microsoft Word, but I can’t find any way to generate this PDF using code.

I’ve looked into Laravel libraries for DomPdf and FPDF but neither of these has a clear way of adding in Placeholders.