PHPackages                             caherrera/pdfinfo - 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. caherrera/pdfinfo

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

caherrera/pdfinfo
=================

Parse pdfinfo from shell to php 5.6+

v1.0.4(9y ago)03111MITPHPPHP &gt;=5.6

Since Mar 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/caherrera/pdfinfo)[ Packagist](https://packagist.org/packages/caherrera/pdfinfo)[ Docs](https://github.com/caherrera/pdfinfo)[ RSS](/packages/caherrera-pdfinfo/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

pdfinfo
=======

[](#pdfinfo)

Description
-----------

[](#description)

This is another version from parse pdfinfo from [howtomakeaturn/pdfinfo](https://github.com/howtomakeaturn/pdfinfo) adding -box details

1. Install pdfinfo
------------------

[](#1-install-pdfinfo)

### Ubuntu

[](#ubuntu)

```
$ sudo apt install poppler-utils

```

### Centos

[](#centos)

```
$ sudo yum install poppler

```

2. Usage
--------

[](#2-usage)

```
$pdfInfo = new PdfInfo(__DIR__.'/../../example/QantasCashAU_Verification.pdf');

```

Reference
=========

[](#reference)

Currently this library supports the following metadata:

- title
- author
- creator
- producer
- creationDate
- modDate
- tagged
- form
- pages
- encrypted
- pageSize
- fileSize
- optimized
- PDFVersion
- mediaBox instance of PdfInfoBox
- cropBox instance of PdfInfoBox
- bleedBox instance of PdfInfoBox
- trimBox instance of PdfInfoBox
- artBox instance of PdfInfoBox

#### Properties for PdfInfoBox

[](#properties-for-pdfinfobox)

- left
- right
- top
- bottom
- sizeX
- sizeY
- imageAspectRatio

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~15 days

Total

5

Last Release

3333d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18551113?v=4)[Carlos Herrera](/maintainers/caherrera)[@caherrera](https://github.com/caherrera)

---

Top Contributors

[![caherrera](https://avatars.githubusercontent.com/u/18551113?v=4)](https://github.com/caherrera "caherrera (1 commits)")

---

Tags

pdfpdfinfo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/caherrera-pdfinfo/health.svg)

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.4k99.4M362](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

Deprecated legacy PDF engine for PHP. Use instead tecnickcom/tc-lib-pdf.

4.5k109.8M555](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k83.4M546](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k71.0M60](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k35.1M143](/packages/spatie-browsershot)[smalot/pdfparser

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

2.7k40.5M259](/packages/smalot-pdfparser)

PHPackages © 2026

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