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

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

iizno/pdf-merger
================

PDF File Merger for PHP5

v1.0.0(6y ago)04PHP

Since Apr 8Pushed 6y agoCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

PDFMerger for PHP (PHP 5 &amp; 7 Compatible)
--------------------------------------------

[](#pdfmerger-for-php-php-5--7-compatible)

Original written by
Forked from

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

[](#composer-compatible)

I've just forked this package to make it compatible with composer

To install add this line to your composer.json

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

or

`composer require clegginabox/pdf-merger: "dev-master"`

### Example Usage

[](#example-usage)

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

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

//You can optionally specify a different orientation for each PDF
$pdf->addPDF('samplepdfs/one.pdf', '1, 3, 4', 'L');
$pdf->addPDF('samplepdfs/two.pdf', '1-2', 'P');

$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

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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

2277d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2494255?v=4)[Jérôme](/maintainers/iizno)[@iizno](https://github.com/iizno)

---

Top Contributors

[![clegginabox](https://avatars.githubusercontent.com/u/2412400?v=4)](https://github.com/clegginabox "clegginabox (7 commits)")[![myokyawhtun](https://avatars.githubusercontent.com/u/295096?v=4)](https://github.com/myokyawhtun "myokyawhtun (5 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)")[![xpoback](https://avatars.githubusercontent.com/u/4457842?v=4)](https://github.com/xpoback "xpoback (2 commits)")[![grigdodon](https://avatars.githubusercontent.com/u/30074710?v=4)](https://github.com/grigdodon "grigdodon (1 commits)")

### Embed Badge

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

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

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k83.4M563](/packages/mpdf-mpdf)[horstoeko/zugferd

A library for creating and reading european electronic invoices

4295.8M30](/packages/horstoeko-zugferd)[atgp/factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

153915.3k4](/packages/atgp-factur-x)[webklex/laravel-pdfmerger

Generic PDF merger for Laravel

1433.1M2](/packages/webklex-laravel-pdfmerger)[jurosh/pdf-merge

PHP PDF Merger

1552.4M5](/packages/jurosh-pdf-merge)[creagia/laravel-sign-pad

Laravel package for of E-Signature with Signature Pad and Digital Certified Sign with TCPDF

546126.7k](/packages/creagia-laravel-sign-pad)

PHPackages © 2026

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