PHPackages                             ddeboer/document-manipulation-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. ddeboer/document-manipulation-bundle

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

ddeboer/document-manipulation-bundle
====================================

Use this Symfony2 bundle to manipulate Microsoft Word and PDF documents

0.2(13y ago)53763MITPHPPHP &gt;=5.3.0

Since Feb 28Pushed 12y ago2 watchersCompare

[ Source](https://github.com/ddeboer/DdeboerDocumentManipulationBundle)[ Packagist](https://packagist.org/packages/ddeboer/document-manipulation-bundle)[ Docs](https://github.com/ddeboer/DdeboerDocumentManipulationBundle)[ RSS](/packages/ddeboer-document-manipulation-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/66388217bf22798b5b50cf2fdbfb48f8d3182e2881bd388a81e650dfa104d53d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f646465626f65722f446465626f6572446f63756d656e744d616e6970756c6174696f6e42756e646c652e706e67)](http://travis-ci.org/ddeboer/DdeboerDocumentManipulationBundle)

Ddeboer Document Manipulation Bundle
====================================

[](#ddeboer-document-manipulation-bundle)

Introduction
------------

[](#introduction)

Use this bundle to perform operations on PDF and Microsoft Doc documents. The goal of this bundle to abstract away mail merging, appending, etc. of word processor documents.

### Features

[](#features)

(todo)

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

[](#installation)

This bundle is available on [Packagist](http://packagist.org/packages/ddeboer/document-manipulation-bundle).

### Mail merging using LiveDocx

[](#mail-merging-using-livedocx)

If you want to use the `LiveDocxManipulator` for mail merging, get an account at [LiveDocx](http://www.livedocx.com), and install [ZendService\\LiveDocx](https://github.com/zendframework/ZendServiceLiveDocx)by adding the following to your `composer.json`:

```
    "repositories": [
        {
            "type": "composer",
            "url": "http://packages.zendframework.com/"
        },
        ...
    ],
    "require": {
        "zendframework/zendservice-livedocx": "@stable",
    }

```

Then configure LiveDocx in your `config.yml`:

```
ddeboer_document_manipulation:
  livedocx:
    username: [your LiveDocx username]
    password: [your LiveDocx password]
    wsdl: [your premium LiveDocx WSDL, if you have a premium account]

```

### PDF manipulation using pdftk

[](#pdf-manipulation-using-pdftk)

Install `pdftk`, and then configure it in your `config.yml`:

```
ddeboer_document_manipulation:
  pdftk:
    binary: /usr/local/bin/pdftk

```

Replace `/usr/local/bin/pdftk` with the path to the `pdftk` binary on your system.

Customization
-------------

[](#customization)

### Create a custom document manipulator

[](#create-a-custom-document-manipulator)

Create your own document manipulator, and implement the `ManipulatorInterface`. Add your manipulator as a service, and tag that with `ddeboer_document_manipulation.manipulator`. For instance the standard LiveDocx manipulator is defined as follows:

```

```

Run tests
---------

[](#run-tests)

Run unit tests:

```
$ phpunit

```

Run functional tests:

```
$ phpunit -c app --group functional vendor/ddeboer/document-manipulation-bundle/Ddeboer/DocumentManipulationBundle/Tests/

```

Documentation
-------------

[](#documentation)

More extensive documentation will be included in the [Resources/doc directory](http://github.com/ddeboer/DdeboerDocumentManipulationBundle/tree/master/Resources/doc/index.md).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~364 days

Total

2

Last Release

4819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54c045456672a15a85dd65e79418d0f3375322df38ac4dedb5d66487d86ab592?d=identicon)[ddeboer](/maintainers/ddeboer)

---

Top Contributors

[![ddeboer](https://avatars.githubusercontent.com/u/89267?v=4)](https://github.com/ddeboer "ddeboer (86 commits)")

---

Tags

pdfdocmergedocumentmailmerge

### Embed Badge

![Health badge](/badges/ddeboer-document-manipulation-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ddeboer-document-manipulation-bundle/health.svg)](https://phpackages.com/packages/ddeboer-document-manipulation-bundle)
```

###  Alternatives

[iio/libmergepdf

Library for merging multiple PDFs

40813.6M13](/packages/iio-libmergepdf)[tecnickcom/tc-lib-pdf

PHP PDF Library

1.8k452.3k7](/packages/tecnickcom-tc-lib-pdf)[jurosh/pdf-merge

PHP PDF Merger

1522.2M4](/packages/jurosh-pdf-merge)[vaites/php-apache-tika

Apache Tika bindings for PHP: extracts text from documents and images (with OCR), metadata and more...

1171.5M2](/packages/vaites-php-apache-tika)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

32157.4k](/packages/aspose-cloud-aspose-words-cloud)[karriere/pdf-merge

A wrapper for the TCPDF class that provides an elegant API for merging PDFs

27566.8k1](/packages/karriere-pdf-merge)

PHPackages © 2026

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