PHPackages                             dnru/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. dnru/pdfparser

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

dnru/pdfparser
==============

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

v0.15.1(5y ago)012LGPL-3.0PHPPHP ^5.6|^7.0

Since Sep 2Pushed 5y agoCompare

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

READMEChangelogDependencies (3)Versions (39)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)[![Current Version](https://camo.githubusercontent.com/aabfc13096ccd1cafdddd31fc4aa6902a8f12162994e10131d57d080522b9f20/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f762f737461626c652e706e67)](https://packagist.org/packages/smalot/pdfparser)[![composer.lock](https://camo.githubusercontent.com/b08ac123edf1457ff3fcbcbb3124a7531f590b39cfb91da454ba0de8af707869/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f636f6d706f7365726c6f636b)](https://packagist.org/packages/smalot/pdfparser)

[![Total Downloads](https://camo.githubusercontent.com/fece12a44bdeaf7453f37cd99e57d4856adfe04d55369d7b3e2a8f53393fdd43/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/smalot/pdfparser)[![Monthly Downloads](https://camo.githubusercontent.com/44970ad512356ccbf578eebc222e141a72a3c6889399ca7a06880d1869616df5/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f642f6d6f6e74686c79)](https://packagist.org/packages/smalot/pdfparser)[![Daily Downloads](https://camo.githubusercontent.com/c74900b9dbf382c4018ec7d9afbfd737dde37799a692f38320b30b958f90674b/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f7064667061727365722f642f6461696c79)](https://packagist.org/packages/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 [LGPLv3 license](https://github.com/smalot/pdfparser/blob/master/LICENSE.txt).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% 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 ~68 days

Recently: every ~176 days

Total

37

Last Release

2182d ago

PHP version history (2 changes)v0.9.3PHP &gt;=5.3.0

v0.15.1PHP ^5.6|^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66252826?v=4)[dnru](/maintainers/dnru)[@dnru](https://github.com/dnru)

---

Top Contributors

[![smalot](https://avatars.githubusercontent.com/u/1424035?v=4)](https://github.com/smalot "smalot (110 commits)")[![izabala](https://avatars.githubusercontent.com/u/8550103?v=4)](https://github.com/izabala "izabala (10 commits)")[![k00ni](https://avatars.githubusercontent.com/u/381727?v=4)](https://github.com/k00ni "k00ni (6 commits)")[![j0k3r](https://avatars.githubusercontent.com/u/62333?v=4)](https://github.com/j0k3r "j0k3r (5 commits)")[![klausi](https://avatars.githubusercontent.com/u/213229?v=4)](https://github.com/klausi "klausi (4 commits)")[![sparx82](https://avatars.githubusercontent.com/u/17567952?v=4)](https://github.com/sparx82 "sparx82 (4 commits)")[![doganoo](https://avatars.githubusercontent.com/u/6998611?v=4)](https://github.com/doganoo "doganoo (3 commits)")[![black-silence](https://avatars.githubusercontent.com/u/1191421?v=4)](https://github.com/black-silence "black-silence (3 commits)")[![fbourigault](https://avatars.githubusercontent.com/u/1116116?v=4)](https://github.com/fbourigault "fbourigault (3 commits)")[![cherny-sh](https://avatars.githubusercontent.com/u/184812?v=4)](https://github.com/cherny-sh "cherny-sh (2 commits)")[![mplx](https://avatars.githubusercontent.com/u/1986588?v=4)](https://github.com/mplx "mplx (2 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)")[![reposys](https://avatars.githubusercontent.com/u/14852816?v=4)](https://github.com/reposys "reposys (1 commits)")[![sheldonled](https://avatars.githubusercontent.com/u/4605513?v=4)](https://github.com/sheldonled "sheldonled (1 commits)")[![stephanedelprat](https://avatars.githubusercontent.com/u/152964289?v=4)](https://github.com/stephanedelprat "stephanedelprat (1 commits)")[![AlexKovalevych](https://avatars.githubusercontent.com/u/577231?v=4)](https://github.com/AlexKovalevych "AlexKovalevych (1 commits)")[![xelan](https://avatars.githubusercontent.com/u/5080535?v=4)](https://github.com/xelan "xelan (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![DavidPrevot](https://avatars.githubusercontent.com/u/3936728?v=4)](https://github.com/DavidPrevot "DavidPrevot (1 commits)")

---

Tags

pdfparsertextparseextract

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[smalot/pdfparser

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

2.7k34.5M216](/packages/smalot-pdfparser)[elibyy/tcpdf-laravel

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

3542.7M5](/packages/elibyy-tcpdf-laravel)[kartik-v/yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)

1623.1M35](/packages/kartik-v-yii2-export)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

32157.4k](/packages/aspose-cloud-aspose-words-cloud)[tecnickcom/tc-lib-pdf-parser

PHP library to parse PDF documents

4092.8k](/packages/tecnickcom-tc-lib-pdf-parser)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.2k](/packages/nilgems-laravel-textract)

PHPackages © 2026

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