PHPackages                             edigomes/pdf-merger - 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. edigomes/pdf-merger

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

edigomes/pdf-merger
===================

PDF File Merger for PHP5

1.0.0(9y ago)19.3kPHP

Since Feb 10Pushed 9y ago1 watchersCompare

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

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

\#PDFMerger for PHP (PHP 5 or 7 Compatible)

Original written by
Forked from

Composer Compatible
-------------------

[](#composer-compatible)

I've just forked this package to make it compatible with composer and work with pdf from URL To install add this line to your composer.json

`"edigomes/pdf-merger": "dev-master"`

### Example Usage

[](#example-usage)

```
$pdf = new \Clegginabox\PDFMerger\PDFMerger;

$pdf->addPDF(file_get_contents('http://beta.local/test1.pdf'));
$pdf->addPDF(file_get_contents('http://beta.local/test2.pdf');

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

// REPLACE 'file' WITH 'browser', 'download', 'string', or 'file' for output options
// Last parameter is for orientation (P for protrait, L for Landscape).
// This will be used for every PDF that doesn't have an orientation specified
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

3382d ago

### Community

Maintainers

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

---

Top Contributors

[![edigomes](https://avatars.githubusercontent.com/u/9788003?v=4)](https://github.com/edigomes "edigomes (9 commits)")[![myokyawhtun](https://avatars.githubusercontent.com/u/295096?v=4)](https://github.com/myokyawhtun "myokyawhtun (5 commits)")[![clegginabox](https://avatars.githubusercontent.com/u/2412400?v=4)](https://github.com/clegginabox "clegginabox (4 commits)")[![Choukk](https://avatars.githubusercontent.com/u/1766942?v=4)](https://github.com/Choukk "Choukk (3 commits)")[![wmather](https://avatars.githubusercontent.com/u/3214643?v=4)](https://github.com/wmather "wmather (2 commits)")

### Embed Badge

![Health badge](/badges/edigomes-pdf-merger/health.svg)

```
[![Health](https://phpackages.com/badges/edigomes-pdf-merger/health.svg)](https://phpackages.com/packages/edigomes-pdf-merger)
```

###  Alternatives

[phpoffice/phpspreadsheet

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

13.9k293.5M1.3k](/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.6M131](/packages/openspout-openspout)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)

PHPackages © 2026

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