What is the best PHP read pdf file class? #read pdf file
Edit
by Manish Kumar - 10 years ago (2015-04-01)
Read PDF file upload than read in text in it.
| I want read a PDF file extracting its text using PHP. |
Ask clarification
3 Recommendations
PHP PDF to HTML: Convert PDF to HTML using Poppler
This class can convert PDF to HTML using Poppler program.
It can take the path of the Poppler program tools and execute several operations to extract information from PDF documents.
Currently the class can convert whole PDF documents or individual pages to HTML, get the document information, return the page count, etc..
Several parameters can be configured like the the preferred format of the pictures inside the document, zoom scale, whether to use images or CSS inline within the HTML or as external files, etc..
| by Anton N Nikolaev package author 215 - 8 years ago (2016-12-02) Comment
I like it! |
This class can be used to extract text from PDF files.
It can parse a PDF file and decode any document elements that contain document text that can be extracted.
| by Samuel Adeshina 1015 - 9 years ago (2015-05-04) Comment
This package does exactly what you need. Tried it on my own and can't think of a better to encourage you to try it. It reads the text content of a pdf file into a variable. You can then search for a particular text, explode or even perform a regexp on it. |
pdf_search: Searches pdf documents for text
A class to search text in pdf documents.
Not pretending to be useful other than that.
But it can easily be extended to a full featured pdf document
parser by anyone who chooses so.
License: Public Domain
Warranty: None
| by Dmitry Mamontov 320 - 10 years ago (2015-04-06) Comment
Quite a good class. Text pulls out with a bang. But if stored in pdf image then you are unlikely to him that ever made. |