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

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

jfuentestgn/pdfinfo
===================

PHP Wrapper for pdfinfo command

025PHP

Since Apr 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jfuentestgn/pdfinfo)[ Packagist](https://packagist.org/packages/jfuentestgn/pdfinfo)[ RSS](/packages/jfuentestgn-pdfinfo/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PDF Info
========

[](#pdf-info)

Simple class to retrieve basic information from PDF file

This class uses spatie/pdf-to-text and extends it to read metadata from a PDF file. It acts as a wrapper for pdfinfo command.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6.4
- pdfinfo

Be sure to check if pdfinfo is installed in your system before using this package

Installation
------------

[](#installation)

You should use the pdfinfo class with composer, from command line:

```
$ composer require jfuentestgn/pdfinfo
```

or declaring it in your project's composer.json file:

```
{
    "require": {
        "jfuentestgn/pdfinfo": "dev-master"
    }
}
```

Configuration
-------------

[](#configuration)

No config needed

Usage
-----

[](#usage)

You can use the Pdf class in a similar way thay you would do with spatie's one:

```
use JFuentesTgn\pdfinfo\Pdf;

$info = (new Pdf())->setPdf('dummy.pdf')->info();
print_r($info);
```

or:

```
$info = \JFuentesTgn\pdfinfo\Pdf::getInfo('dummy.pdf');
```

Credits
-------

[](#credits)

This package is maintained by [Juan Fuentes](https://github.com/jfuentestgn). It's based on [spatie/pdftotext](https://github.com/spatie/pdf-to-text).

License
-------

[](#license)

This package is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3225304a7916c8710ecafd079682bb5a2adaf03d81c17159e085b2835bac61e5?d=identicon)[jfuentestgn](/maintainers/jfuentestgn)

---

Top Contributors

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

---

Tags

pdfphp

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.2k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

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

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

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