PHPackages                             heptagon-lynx39/lara-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. heptagon-lynx39/lara-pdf-merger

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

heptagon-lynx39/lara-pdf-merger
===============================

14121PHP

Since Feb 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/senthilhep/heptagon-lynx39)[ Packagist](https://packagist.org/packages/heptagon-lynx39/lara-pdf-merger)[ RSS](/packages/heptagon-lynx39-lara-pdf-merger/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

lara-pdf-merger
===============

[](#lara-pdf-merger)

Original written by

\###Update

Change parsers and use tcpdf, tcpdi and tcpdi\_parser

Installation
------------

[](#installation)

### Laravel 5.x:

[](#laravel-5x)

Require this package in your composer.json and update composer.

```
"lynx39/lara-pdf-merger": "dev-master",

```

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
LynX39\LaraPdfMerger\PdfMergerServiceProvider::class,

```

You can optionally use the facade for shorter code. Add this to your facades:

```
'PdfMerger' => LynX39\LaraPdfMerger\Facades\PdfMerger::class,

```

Using
-----

[](#using)

```
$pdf = new LynX39\LaraPdfMerger\PdfManage;

$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

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/73afe8a2d8700a64cb64ee7ad7d7e2fda627e0aab4d393074121e555c9639a61?d=identicon)[senthilhep](/maintainers/senthilhep)

---

Top Contributors

[![senthilhep](https://avatars.githubusercontent.com/u/61191330?v=4)](https://github.com/senthilhep "senthilhep (3 commits)")

### Embed Badge

![Health badge](/badges/heptagon-lynx39-lara-pdf-merger/health.svg)

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

###  Alternatives

[42coders/document-templates

Document template management package.

19940.0k](/packages/42coders-document-templates)[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[macopedia/magmi2

Magento Mass Importer 'Magmi' for Magento 2

11615.7k](/packages/macopedia-magmi2)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.4k](/packages/tarfin-labs-easy-pdf)[ikkez/f3-sheet

Some Excel and CSV utilities for PHP Fat-Free Framework

1414.8k](/packages/ikkez-f3-sheet)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.7k](/packages/nilgems-laravel-textract)

PHPackages © 2026

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