Do you know any library that allows me to extract the text of a type A pdf to read it in PHP?
I have tried many libraries but none of them have been able to read the content I need help
Do you know any library that allows me to extract the text of a type A pdf to read it in PHP?
I have tried many libraries but none of them have been able to read the content I need help
You could try PDF Parser, an open source library available in github
Will be something like this. But check the doc for further details
<?php
// lot of lines
// Parse pdf file and build necessary objects.
$parser = new \Smalot\PdfParser\Parser();
$pdf = $parser->parseFile('document.pdf');
$text = $pdf->getText();
echo $text;
?>