tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

Can I use this to fill an existing PDF form? #592

Closed Dylan-Buth closed 1 year ago

Dylan-Buth commented 1 year ago

I've been searching for hours on how to do this and can't find anything other than paying Setasign thousands of dollars.

I have an existing, fillable PDF form. I'm looking for a way to fill the inputs with data using PHP. I know setasign/fpdi can import PDF forms. Can this package, maybe in conjunction with that one, fill the inputs?

Has anyone else done this without buying setasign libraries or using iText in Java? Thanks!

williamdes commented 1 year ago

If you are trying to edit a PDF this is the wrong project, if you are looking to generate a PDF this is the right project. But there is other open source projects for editing PDFs. You should ask on StackOverflow and close this issue :)

Dylan-Buth commented 1 year ago

I guess filling the inputs counts as editing? Working on SO post now. Thanks!

williamdes commented 1 year ago

I guess filling the inputs counts as editing? Working on SO post now. Thanks!

Yes, but be sure to post the link here so we can follow