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

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

rguedes/pdfmerger
=================

PDFMerger for PHP

1.0.4(7y ago)33987.0k↓55.4%45[11 issues](https://github.com/rguedes/PDFMerger/issues)[4 PRs](https://github.com/rguedes/PDFMerger/pulls)LGPLPHPPHP &gt;=5.2.0

Since Jan 5Pushed 5y ago2 watchersCompare

[ Source](https://github.com/rguedes/PDFMerger)[ Packagist](https://packagist.org/packages/rguedes/pdfmerger)[ Docs](https://github.com/rguedes/PDFMerger)[ RSS](/packages/rguedes-pdfmerger/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

\#PDFMerger for PHP (PHP 5/Laravel Compatible)

Original written by  port to PHP 5 by

Laravel Compatible
------------------

[](#laravel-compatible)

I have made some changes to make PHPMerger compatible for Laravel 4

### 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

39

—

LowBetter than 84% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 73.7% 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 ~365 days

Total

4

Last Release

2738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8cdd373723e8fc48f374462c70fb3ded6a386336e89f7efa1b8a46c72d98e78?d=identicon)[rguedes](/maintainers/rguedes)

---

Top Contributors

[![rguedes](https://avatars.githubusercontent.com/u/1434822?v=4)](https://github.com/rguedes "rguedes (14 commits)")[![gilenoranna](https://avatars.githubusercontent.com/u/1637826?v=4)](https://github.com/gilenoranna "gilenoranna (2 commits)")[![chbbc](https://avatars.githubusercontent.com/u/44181666?v=4)](https://github.com/chbbc "chbbc (1 commits)")[![jutant-l](https://avatars.githubusercontent.com/u/75750190?v=4)](https://github.com/jutant-l "jutant-l (1 commits)")[![timdiels1](https://avatars.githubusercontent.com/u/7079398?v=4)](https://github.com/timdiels1 "timdiels1 (1 commits)")

---

Tags

phppdf

### Embed Badge

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

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

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k83.4M565](/packages/mpdf-mpdf)[pontedilana/php-weasyprint

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

781.2M17](/packages/pontedilana-php-weasyprint)[daandesmedt/phpheadlesschrome

A PHP wrapper for using Google Chrome Headless mode. Convert URL or HTML to a PDF / screenshot. Easy to use and OOP interfaced.

92255.6k](/packages/daandesmedt-phpheadlesschrome)[kartik-v/mpdf

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support. This is a fork of the official mPDF library.

38330.2k1](/packages/kartik-v-mpdf)[kiwilan/php-ebook

PHP package to read metadata and extract covers from eBooks, comics and audiobooks.

3918.3k3](/packages/kiwilan-php-ebook)[renatio/dynamicpdf-plugin

October HTML to PDF converter using dompdf library.

3013.5k3](/packages/renatio-dynamicpdf-plugin)

PHPackages © 2026

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