PDFtk

Has anyone implemented PDFtk into scriptcase project?
https://www.sitepoint.com/filling-pdf-forms-pdftk-php/
My goal is to export PDF form labels and data into a txt file.
PDFtf works fine from a command prompt but I have been unable to install it using composer or even running PHP Exec(phptk) command from within scriptcase.

why don’t you study a little tcpdf, it is quite possible to create your list using multicells (WITHOUT costs) it is also enough to work on a request by line and not by page,

https://tcpdf.org/examples/example_028/

Thanks for the idea. I am creating the PDFs with TCPDF with form fields that the user fills out. My goal is to take that PDF the user has filled out and import the data in the form fields into MySQL database. Please correct me if I’m wrong but I don’t think TCPDF can do this.

it should be possible:
https://tcpdf.org/examples/example_014/
but I’m probably also wrong, you are processing data to tcpdf and you want to recover it,
do not work twice,
the pdf mask displays data (variables),
you could recover it before calling your pdf, when the update event, you make an update then a call on this data,
it comes back to the same as working a form (writing) and a grid (reading)