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

ActiveLibrary

trianglefiresystems/pdf-merger
==============================

PDF File Merger for PHP5

v0.2(1y ago)09.4k↓36.8%1PHP

Since Jan 14Pushed 1y agoCompare

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

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

\#PDFMerger for PHP (PHP 5 Compatible)

Original written by Forked from Forked from

Composer Updates &amp; New Deps
-------------------------------

[](#composer-updates--new-deps)

Forked to use setasign\\Fpdi instead of the abandoned one, it also now seems to suggest a bridge

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

### Example Usage

[](#example-usage)

```
$pdf = new \TriangleFireSystems\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

33

—

LowBetter than 75% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

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

Every ~2024 days

Total

2

Last Release

657d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d2827a55bb456582640144bf00580e0e5841ae23303df893e51198955594e04?d=identicon)[dantfs](/maintainers/dantfs)

---

Top Contributors

[![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)")[![callumtfs](https://avatars.githubusercontent.com/u/176998179?v=4)](https://github.com/callumtfs "callumtfs (1 commits)")[![dantfs](https://avatars.githubusercontent.com/u/46673580?v=4)](https://github.com/dantfs "dantfs (1 commits)")

### Embed Badge

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

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

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[horstoeko/zugferd

A library for creating and reading european electronic invoices

4044.3M18](/packages/horstoeko-zugferd)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[atgp/factur-x

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

138825.5k3](/packages/atgp-factur-x)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[webklex/laravel-pdfmerger

Generic PDF merger for Laravel

1422.6M2](/packages/webklex-laravel-pdfmerger)

PHPackages © 2026

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