What is the best PHP pdf metadata class? #pdf metadata
Edit
by Alex Gluker - 8 years ago (2016-06-13)
PDF metadata
| I need to extract metadata from a PDF document. |
Ask clarification
2 Recommendations
PHP PDF to Text: Extract text contents from PDF files
This package can extract the text contents from a PDF file using pure PHP code (no external tools are needed).
It provides the following features:
- Text is extracted from PDF files as a single text property. Individual page contents are also available separately
- Text strings can be searched over the whole file contents, or through individual pages
- Support for multiple character sets: parsed text is returned in UTF8
- Embedded images can be extracted if desired
- Several option flags are available to adjust PDF contents processing
- RTL language processing
- Basic page layout rendering
- PDF Form data extraction
- Ability to extract areas of text as well as line and column contents, using an XML-based capture definitions
| by Christian Vigh package author 435 - 8 years ago (2016-08-31) Comment
I developed a class in pure PHP (PdfToText) that extracts text from a PDF file.
As time went through, I've added several features such as author information and image extraction.
I've not yet addressed metadata extraction but maybe, if you explain me the nature of the metadata you want to retrieve, I could implement it in my class ? |
PDF Meta Reader: Parse and extract keywords from PDF using pdfinfo
This class can parse and extract keywords from PDF using pdfinfo.
It takes the path of a PDF file and executes the pdfinfo program to retrieve meta data from the PDF document.
The class parses the program output and extracts the PDF document keywords.
| by Manuel Lemos 26695 - 8 years ago (2016-06-14) Comment
There is this class that can extract keywords from a PDF document using the pdfinfo program.
Is this what you want or do you prefer maybe a pure PHP solution that does not rely on external programs? |
- 1 Comment
1.
by Alex Gluker - 8 years ago (2016-08-26) Reply
i need php only, but anyway thank you