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

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

tomsgu/pdf-merger-bundle
========================

Symfony bundle that integrates tomsgu/pdf-merge lib.

0.5.3(7mo ago)8247.1k↓56%2MITPHPPHP ^7.2 || ^8.0CI passing

Since Jun 4Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/Tomsgu/PDFMergerBundle)[ Packagist](https://packagist.org/packages/tomsgu/pdf-merger-bundle)[ RSS](/packages/tomsgu-pdf-merger-bundle/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

PDFMergerBundle
===============

[](#pdfmergerbundle)

Symfony bundle that integrates [tomsgu/pdf-merger](https://github.com/Tomsgu/PDFMerger).

Installation
============

[](#installation)

```
composer require tomsgu/pdf-merger-bundle
```

Usage
=====

[](#usage)

```
use Tomsgu\PdfMerger\PdfMerger;

class MergePdfs
{
    private $merger;

    public function __construct(PdfMerger $merger)
    {
        $this->merger = $merger;
    }

    public function mergePdfs()
    {
        $pdfCollection = new PdfCollection();
        $pdfCollection->addPdf('filename.pdf', PdfFile::ALL_PAGES, PdfFile::ORIENTATION_PORTRAIT);
        $pdfCollection->addPdf('filename2.pdf', '1-4,9', PdfFile::ORIENTATION_LANDSCAPE);
        $pdfCollection->addPdf('filename3.pdf');

        /**
         * Available modes: MODE_FILE, MODE_DOWNLOAD, MODE_STRING, MODE_BROWSER
         * Orientation: This is a fallback if the orientation wasn't specified when adding pdf.
         */
        $this->merger->merge($pdfCollection, 'output.pdf', PdfMerger::MODE_FILE, PdfFile::ORIENTATION_LANDSCAPE);
    }
}
```

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance64

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~278 days

Recently: every ~344 days

Total

11

Last Release

216d ago

PHP version history (2 changes)v0.1PHP ^7.2

v0.2PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2694769?v=4)[Tomsgu](/maintainers/Tomsgu)[@Tomsgu](https://github.com/Tomsgu)

---

Top Contributors

[![Tomsgu](https://avatars.githubusercontent.com/u/2694769?v=4)](https://github.com/Tomsgu "Tomsgu (21 commits)")

---

Tags

pdf merger bundle merge

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M430](/packages/easycorp-easyadmin-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k164.3M1.4k](/packages/symfony-web-profiler-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11258.2k1](/packages/ecotone-symfony-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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