I have a project that I need to add header / footer / watermark, dynamically in existing PDF files, through the PHP language.
I've researched a lot and still can not find a way to do this.
Is it possible to edit existing PDFs in PHP and add information?
Or, would it be possible to create a new PDF, through an existing one, and thus be able to edit the contents of this new PDF?
Another way I thought would be to turn the existing PDF into HTML and turn that HTML into a new PDF with the header / footer / watermark.