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(5mo ago)8242.2k↓56.1%2MITPHPPHP ^7.2 || ^8.0CI passing

Since Jun 4Pushed 5mo 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 3d 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

51

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity41

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

170d 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.3k17.9M388](/packages/easycorp-easyadmin-bundle)[symfony/web-profiler-bundle

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

2.3k160.5M1.2k](/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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[ecotone/symfony-bundle

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

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

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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