PHPackages                             sjoorm/pdfparser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sjoorm/pdfparser

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

sjoorm/pdfparser
================

Pdf parser library. Can read and extract information from pdf file.

0.9.271(10y ago)023GPL-3.0PHPPHP &gt;=5.3.0

Since Sep 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sjoorm/pdfparser)[ Packagist](https://packagist.org/packages/sjoorm/pdfparser)[ Docs](http://www.pdfparser.org)[ RSS](/packages/sjoorm-pdfparser/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (28)Used By (0)

PdfParser
=========

[](#pdfparser)

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

[![Build Status](https://camo.githubusercontent.com/d219bc93b37d623a5ff3368474afcde971e28a70ac409561c99444dd9a18561d/68747470733a2f2f7472617669732d63692e6f72672f736d616c6f742f7064667061727365722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/smalot/pdfparser)[![Total Downloads](https://camo.githubusercontent.com/fece12a44bdeaf7453f37cd99e57d4856adfe04d55369d7b3e2a8f53393fdd43/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/smalot/pdfparser)[![Current Version](https://camo.githubusercontent.com/aabfc13096ccd1cafdddd31fc4aa6902a8f12162994e10131d57d080522b9f20/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f762f737461626c652e706e67)](https://packagist.org/packages/smalot/pdfparser)[![HHVM Status](https://camo.githubusercontent.com/9b4861dd7b999299e06e51a6d4d735fc61b1380cd486df2be82b21bc603e69f0/687474703a2f2f6868766d2e683463632e64652f62616467652f736d616c6f742f7064667061727365722e706e67)](http://hhvm.h4cc.de/package/smalot/pdfparser)

Website : [http://www.pdfparser.org](http://www.pdfparser.org/?utm_source=GitHub&utm_medium=website&utm_campaign=GitHub)

Test the API on our [demo page](http://www.pdfparser.org/demo).

This project is supported by [Actualys](http://www.actualys.com).

Features
--------

[](#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](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md))
- PSR-1 compliant ([code styling](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md))

Currently, secured documents are not supported.

This Library is still under active development. As a result, users must expect BC breaks when using the master version.

Documentation
-------------

[](#documentation)

[Read the documentation on website](http://www.pdfparser.org/documentation?utm_source=GitHub&utm_medium=documentation&utm_campaign=GitHub).

Original PDF References files can be downloaded from this url : [http://www.adobe.com/devnet/pdf/pdf\_reference\_archive.html](http://www.adobe.com/devnet/pdf/pdf_reference_archive.html)

License
-------

[](#license)

This library is under the [GPLv3 license](https://github.com/smalot/pdfparser/blob/master/LICENSE).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~117 days

Total

27

Last Release

3712d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed67059861c9591b6d709afc7ea804f8331640a8a847be2e584eeec8566ea488?d=identicon)[sjoorm](/maintainers/sjoorm)

---

Top Contributors

[![smalot](https://avatars.githubusercontent.com/u/1424035?v=4)](https://github.com/smalot "smalot (84 commits)")[![sparx82](https://avatars.githubusercontent.com/u/17567952?v=4)](https://github.com/sparx82 "sparx82 (4 commits)")[![black-silence](https://avatars.githubusercontent.com/u/1191421?v=4)](https://github.com/black-silence "black-silence (3 commits)")[![theboolean](https://avatars.githubusercontent.com/u/1123102?v=4)](https://github.com/theboolean "theboolean (2 commits)")[![rodnaph](https://avatars.githubusercontent.com/u/447579?v=4)](https://github.com/rodnaph "rodnaph (2 commits)")[![cherny-sh](https://avatars.githubusercontent.com/u/184812?v=4)](https://github.com/cherny-sh "cherny-sh (2 commits)")[![j0k3r](https://avatars.githubusercontent.com/u/62333?v=4)](https://github.com/j0k3r "j0k3r (2 commits)")[![sjoorm](https://avatars.githubusercontent.com/u/4725262?v=4)](https://github.com/sjoorm "sjoorm (2 commits)")[![mc-comanescu](https://avatars.githubusercontent.com/u/6499873?v=4)](https://github.com/mc-comanescu "mc-comanescu (1 commits)")[![DavidPrevot](https://avatars.githubusercontent.com/u/3936728?v=4)](https://github.com/DavidPrevot "DavidPrevot (1 commits)")[![dslawrence](https://avatars.githubusercontent.com/u/410628?v=4)](https://github.com/dslawrence "dslawrence (1 commits)")[![LeonMelis](https://avatars.githubusercontent.com/u/2332995?v=4)](https://github.com/LeonMelis "LeonMelis (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![sheldonled](https://avatars.githubusercontent.com/u/4605513?v=4)](https://github.com/sheldonled "sheldonled (1 commits)")

### Embed Badge

![Health badge](/badges/sjoorm-pdfparser/health.svg)

```
[![Health](https://phpackages.com/badges/sjoorm-pdfparser/health.svg)](https://phpackages.com/packages/sjoorm-pdfparser)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[spipu/html2pdf

Html2Pdf is a HTML to PDF converter written in PHP - It uses TCPDF - OFFICIAL PACKAGE

1.8k11.1M50](/packages/spipu-html2pdf)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3632.9M8](/packages/elibyy-tcpdf-laravel)[iio/libmergepdf

Library for merging multiple PDFs

40814.5M19](/packages/iio-libmergepdf)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k41](/packages/civicrm-civicrm-core)[creagia/laravel-sign-pad

Laravel package for of E-Signature with Signature Pad and Digital Certified Sign with TCPDF

546126.7k](/packages/creagia-laravel-sign-pad)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
