PHP Classes

What is the best PHP pdf metadata class?: PDF metadata

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP pdf metadata class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP pdf metadata class?

Edit

Picture of Alex Gluker by Alex Gluker - 8 years ago (2016-06-13)

PDF metadata

This request is clear and relevant.
This request is not clear or is not relevant.

+4

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
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Christian Vigh by Christian Vigh package author package author Reputation 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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Manuel Lemos by Manuel Lemos Reputation 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. Picture of Alex Gluker by Alex Gluker - 8 years ago (2016-08-26) Reply

    i need php only, but anyway thank you


Recommend package
: 
: