PHPackages                             bureaupartners/pdfgrep - 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. bureaupartners/pdfgrep

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

bureaupartners/pdfgrep
======================

Composer PHP handler for pdfgrep

1.0.0(6y ago)02.0k2[1 PRs](https://github.com/bureaupartners/pdfgrep/pulls)MITPHPPHP &gt;=7.0CI failing

Since Apr 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bureaupartners/pdfgrep)[ Packagist](https://packagist.org/packages/bureaupartners/pdfgrep)[ RSS](/packages/bureaupartners-pdfgrep/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

pdfgrep
=======

[](#pdfgrep)

[![Run tests](https://github.com/bureaupartners/pdfgrep/workflows/Run%20tests/badge.svg?branch=master)](https://github.com/bureaupartners/pdfgrep/workflows/Run%20tests/badge.svg?branch=master)

A simple package for reading information via full text search with pdfgrep and using the information in a PHP script.

Installing / Getting started
----------------------------

[](#installing--getting-started)

First add bureaupartners/pdfgrep to your composer.json

```
composer require bureaupartners/pdfgrep
```

Then add the following code to your project

```
use BureauPartners\pdfgrep\pdfgrep;

$pdfgrep = new pdfgrep('Document.pdf', 'Dog');
$pdfgrep->getFirstMatch(); // Returns first match in the document
$pdfgrep->getMatches(); // Returns all the matches
$pdfgrep->getPageNumbers(); // Returns all page numbers with a match
```

Dependencies
------------

[](#dependencies)

Requires an installation of pdfgrep on the server.

You can install it for example like this:

```
apt-get install -y poppler-utils
apt-get install -y pdfgrep
```

Contributing
------------

[](#contributing)

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Links
-----

[](#links)

- Repository:
- Issue tracker:

Licensing
---------

[](#licensing)

The code in this project is licensed under MIT license.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~113 days

Total

4

Last Release

2227d ago

Major Versions

0.1.2 → 1.0.02020-04-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/67b74c6f8cf3c9512fc139dd35ffa036a923ec9d42bcde167951877ee3c7ff33?d=identicon)[markhameetman](/maintainers/markhameetman)

---

Top Contributors

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

---

Tags

composerpdfpdfgrepphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bureaupartners-pdfgrep/health.svg)

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

###  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.1M102](/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.6M130](/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)
