PHPackages                             iternova/docxmerger - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. iternova/docxmerger

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

iternova/docxmerger
===================

DOCX Merger - Merge .docx files

08.0k↓50%PHP

Since Jan 11Pushed 4y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

iternova/docxmerger - Merge DOCX files
======================================

[](#iternovadocxmerger---merge-docx-files)

A simple library to merge DOCX files.

More info: ITERNOVA \[\]

Requirements
------------

[](#requirements)

- PHP 7.0 or higher.

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

[](#installation)

To install easily using composer (and packagist.org), complete your `composer.json` file with:

```
{
    "require": {
        "iternova/docxmerger": "dev-master"
    }
}
```

Usage
-----

[](#usage)

```
$absolute_path_directory = __DIR__.'/../../tmp/';
$array_input_files = [
    $absolute_path_directory . 'input_file_01.docx',
    $absolute_path_directory . 'input_file_02.docx',
    $absolute_path_directory . 'input_file_03.docx',
];
$array_page_breaks = [
    false,
    true,
    false,
];
$output_file = $absolute_path_directory .'output_file.docx';

$docx_merger = new \Iternova\DOCXMerger\DOCXMerger();
$docx_merger->add_files( $array_input_files, $array_page_breaks );
$docx_merger->save( $output_file);
```

License
-------

[](#license)

This package is released under the MIT license. You are free to use, modify and distribute this software or any variant of it.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity27

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://avatars.githubusercontent.com/u/968843?v=4)[Jorge Casas](/maintainers/jorgecasas)[@jorgecasas](https://github.com/jorgecasas)

![](https://www.gravatar.com/avatar/4bc5ec2c8b38b475c277918fc030bce7ca5d60ea4711081a927ed7f7527c48c4?d=identicon)[vcorbacho](/maintainers/vcorbacho)

![](https://www.gravatar.com/avatar/5208b41d2370b84e233e0f06ac8a4a70582ea3a67eef3667d450c72a18bb5140?d=identicon)[iternova](/maintainers/iternova)

---

Top Contributors

[![jorgecasas](https://avatars.githubusercontent.com/u/968843?v=4)](https://github.com/jorgecasas "jorgecasas (7 commits)")

### Embed Badge

![Health badge](/badges/iternova-docxmerger/health.svg)

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

PHPackages © 2026

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