PHPackages                             hubdesksa/pdf-merge - 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. hubdesksa/pdf-merge

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

hubdesksa/pdf-merge
===================

A Fork of PHP PDF Merger

2.0.1(5y ago)066MITPHPPHP &gt;=5.6.20

Since Dec 7Pushed 5y agoCompare

[ Source](https://github.com/hubtechsa/php-pdf-merge)[ Packagist](https://packagist.org/packages/hubdesksa/pdf-merge)[ Docs](https://github.com/hubdesksa/php-pdf-merge)[ RSS](/packages/hubdesksa-pdf-merge/feed)WikiDiscussions master Synced yesterday

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

PDF Merge for PHP
=================

[](#pdf-merge-for-php)

PDF Merge library for PHP.

Install with composer:

`composer require hubdesksa/pdf-merge`

Should add dependency:

```
"hubdesksa/pdf-merge": "^2.0"
```

Highlights
----------

[](#highlights)

Pdf merging with modes portrait/landscape.

Usage
-----

[](#usage)

```
// Autoload composer classses...

// and now we can use library
$pdf = new \Jurosh\PDFMerge\PDFMerger;

// add as many pdfs as you want
$pdf->addPDF('path/to/source/file.pdf', 'all', 'vertical')
  ->addPDF('path/to/source/file1.pdf', 'all')
  ->addPDF('path/to/source/file2.pdf', 'all', 'horizontal');

// call merge, output format `file`
$pdf->merge('file', 'path/to/export/dir/file.pdf');
```

That's it!

Enjoy and leave star if you like it :)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 81.5% 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 ~726 days

Total

4

Last Release

1995d ago

Major Versions

0.1.0 → 1.0.02015-08-04

1.0.0 → 2.0.02018-08-14

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

2.0.0PHP &gt;=5.6.20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46524956?v=4)[Hazem Mohamed](/maintainers/hazem-kifah)[@hazem-kifah](https://github.com/hazem-kifah)

---

Top Contributors

[![jurosh](https://avatars.githubusercontent.com/u/1630137?v=4)](https://github.com/jurosh "jurosh (22 commits)")[![hazem-kifah](https://avatars.githubusercontent.com/u/46524956?v=4)](https://github.com/hazem-kifah "hazem-kifah (3 commits)")[![morrislaptop](https://avatars.githubusercontent.com/u/67807?v=4)](https://github.com/morrislaptop "morrislaptop (1 commits)")[![sebastian-serfe](https://avatars.githubusercontent.com/u/11234528?v=4)](https://github.com/sebastian-serfe "sebastian-serfe (1 commits)")

---

Tags

pdfmerge

### Embed Badge

![Health badge](/badges/hubdesksa-pdf-merge/health.svg)

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

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[iio/libmergepdf

Library for merging multiple PDFs

40813.6M13](/packages/iio-libmergepdf)[jurosh/pdf-merge

PHP PDF Merger

1522.2M5](/packages/jurosh-pdf-merge)[webklex/laravel-pdfmerger

Generic PDF merger for Laravel

1422.6M2](/packages/webklex-laravel-pdfmerger)[setasign/fpdi-protection

A FPDI compatible version of the FPDF\_Protection script.

324.3M2](/packages/setasign-fpdi-protection)[karriere/pdf-merge

A wrapper for the TCPDF class that provides an elegant API for merging PDFs

27566.8k1](/packages/karriere-pdf-merge)

PHPackages © 2026

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