Retrieving information from a PDF and adding it to a table

Viewed 19

I come to you because I try for several days, my client wants to send a pdf on my Symfony application, the PDF is always in the same format, in the top right of the format there is a reference number, I want that when he adds the pdf to the application I update the reference of the file in the application automatically.

Do you have any bundles?

In JS I could get the information with the reference coordinates but how to read and update in PHP

I use this

$parser = new \Smalot\PdfParser\Parser();
$pdf    = $parser->parseFile('document.pdf');

$text = $pdf->getText();
echo $text;

But how to search information on this

0 Answers
Related