Skip to content

PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.

License

Notifications You must be signed in to change notification settings

TivoSoho/pdfparser

 
 

Repository files navigation

PdfParser

Pdf Parser, a standalone PHP library, provides various tools to extract data from a PDF file.

CI Scrutinizer Code Quality Code Coverage License

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads

Website : https://www.pdfparser.org

Test the API on our demo page.

This project is supported by Actualys.

Features

Features included :

  • Load/parse objects and headers
  • Extract meta data (author, description, ...)
  • Extract text from ordered pages
  • Support of compressed pdf
  • Support of MAC OS Roman charset encoding
  • Handling of hexa and octal encoding in text sections
  • PSR-0 compliant (autoloader)
  • PSR-1 compliant (code styling)

Currently, secured documents are not supported.

This Library is under active maintenance. There is no active development by the author of this library (at the moment), but we welcome any pull request adding/extending functionality!

Documentation

Read the documentation on website.

Original PDF References files can be downloaded from this url: http://www.adobe.com/devnet/pdf/pdf_reference_archive.html

For developers: Please read DEVELOPER.md for more information about local development of the PDFParser library.

Installation

Using Composer

  • Obtain Composer
  • Run composer require smalot/pdfparser

Use alternate file loader

In case you can't use Composer, you can include alt_autoload.php-dist into your project. It will load all required files at once. Afterwards you can use PDFParser class and others.

License

This library is under the LGPLv3 license.

About

PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.8%
  • Makefile 0.2%