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 yesterday

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 37% 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

2225d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e17da965ad3ebb156b2f19304f938816052b66ff4d83008b44d1f04bfa02e0e?d=identicon)[iizno](/maintainers/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.7k77.1M493](/packages/mpdf-mpdf)[webklex/laravel-pdfmerger

Generic PDF merger for Laravel

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

PHP PDF Merger

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

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

54097.2k](/packages/creagia-laravel-sign-pad)[setasign/fpdi-protection

A FPDI compatible version of the FPDF\_Protection script.

324.3M2](/packages/setasign-fpdi-protection)[binarystash/pdf-watermarker

Watermark or stamp PDF documents

8260.6k](/packages/binarystash-pdf-watermarker)

PHPackages © 2026

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