PHPackages                             forwebsystem/pdfmerger - 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. forwebsystem/pdfmerger

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

forwebsystem/pdfmerger
======================

PDFMerger for PHP

01.1k—0%PHP

Since Aug 23Pushed 3y agoCompare

[ Source](https://github.com/forwebsystem/PDFMerger)[ Packagist](https://packagist.org/packages/forwebsystem/pdfmerger)[ RSS](/packages/forwebsystem-pdfmerger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

\#PDFMerger for PHP (PHP 5/Laravel Compatible)

Original written by  port to PHP 5 by

Laravel Compatible
------------------

[](#laravel-compatible)

I have made some changes to make PHPMerger compatible for Laravel 4

### Example Usage

[](#example-usage)

```
$pdf = new \PDFMerger;

$pdf->addPDF('samplepdfs/one.pdf', '1, 3, 4');
$pdf->addPDF('samplepdfs/two.pdf', '1-2');
$pdf->addPDF('samplepdfs/three.pdf', 'all');

$pdf->merge('file', 'samplepdfs/TEST2.pdf');

// REPLACE 'file' WITH 'browser', 'download', 'string', or 'file' for output options
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 70% 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/fe52830fc8b542167a4e221492bedeb00c36a4b82bc76b786951ca5a123c80c6?d=identicon)[forwebsystem](/maintainers/forwebsystem)

---

Top Contributors

[![rguedes](https://avatars.githubusercontent.com/u/1434822?v=4)](https://github.com/rguedes "rguedes (14 commits)")[![gilenoranna](https://avatars.githubusercontent.com/u/1637826?v=4)](https://github.com/gilenoranna "gilenoranna (2 commits)")[![chbbc](https://avatars.githubusercontent.com/u/44181666?v=4)](https://github.com/chbbc "chbbc (1 commits)")[![forwebsystem](https://avatars.githubusercontent.com/u/72976017?v=4)](https://github.com/forwebsystem "forwebsystem (1 commits)")[![jutant-l](https://avatars.githubusercontent.com/u/75750190?v=4)](https://github.com/jutant-l "jutant-l (1 commits)")[![timdiels1](https://avatars.githubusercontent.com/u/7079398?v=4)](https://github.com/timdiels1 "timdiels1 (1 commits)")

### Embed Badge

![Health badge](/badges/forwebsystem-pdfmerger/health.svg)

```
[![Health](https://phpackages.com/badges/forwebsystem-pdfmerger/health.svg)](https://phpackages.com/packages/forwebsystem-pdfmerger)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

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