PHPackages                             bendavidson90/pdfmerger - 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. bendavidson90/pdfmerger

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

bendavidson90/pdfmerger
=======================

PDFMerger for PHP/Symfony

1.0.4(7y ago)062MITPHPPHP &gt;=5.2.0

Since Jan 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/BenDavidson90/PDFMerger)[ Packagist](https://packagist.org/packages/bendavidson90/pdfmerger)[ Docs](https://github.com/BenDavidson90/PDFMerger)[ RSS](/packages/bendavidson90-pdfmerger/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (5)Used By (0)

\#PDFMerger for PHP (PHP 5/Symfony Compatible) with TCPDF

Original written by  port to PHP 5 by

Symfony Compatible
------------------

[](#symfony-compatible)

Based on . FPDF/FPDI replaced by TCPDF because of FPDI free version not able handle all PDF compressions type.

### Example Usage

[](#example-usage)

```
$pdf = new \PDFMerger;

$pdf->addPDF('samplepdfs/one.pdf', '1, 3, 4');
$pdf->addPDF('samplepdfs/two.pdf', '1-2');
$pdf->addPDF('samplepdfs/three.pdf', 'all');

$pdf->merge('file', 'samplepdfs/TEST2.pdf');

// REPLACE 'file' WITH 'browser', 'download', 'string', or 'file' for output options
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~351 days

Total

4

Last Release

2733d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b527789d55db10f41e268c77e510282ed7ac81d84d3dc5d03f7f6b3d3b8db11?d=identicon)[Benji7790](/maintainers/Benji7790)

---

Top Contributors

[![rguedes](https://avatars.githubusercontent.com/u/1434822?v=4)](https://github.com/rguedes "rguedes (10 commits)")[![gilenoranna](https://avatars.githubusercontent.com/u/1637826?v=4)](https://github.com/gilenoranna "gilenoranna (2 commits)")

---

Tags

phpsymfonypdf

### Embed Badge

![Health badge](/badges/bendavidson90-pdfmerger/health.svg)

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

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[pontedilana/php-weasyprint

PHP library allowing PDF generation from an url or a html page. Wrapper for Kozea/WeasyPrint.

761.1M7](/packages/pontedilana-php-weasyprint)[mostafaznv/pdf-optimizer

PDF optimization tool for PHP and Laravel applications

170125.8k](/packages/mostafaznv-pdf-optimizer)[its404/php-puppeteer

PHP Wrapper for Google Chrome Puppeteer

30303.1k1](/packages/its404-php-puppeteer)[jeidison/jsignpdf-php

jsignpdf-php

236.6k](/packages/jeidison-jsignpdf-php)

PHPackages © 2026

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