2017 © Pedro Peláez
 

symfony-bundle document-manipulation-bundle

Use this Symfony2 bundle to manipulate Microsoft Word and PDF documents

image

ddeboer/document-manipulation-bundle

Use this Symfony2 bundle to manipulate Microsoft Word and PDF documents

  • Thursday, May 30, 2013
  • by ddeboer
  • Repository
  • 2 Watchers
  • 5 Stars
  • 366 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Ddeboer Document Manipulation Bundle

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., (*2)

Features

(todo), (*3)

Installation

This bundle is available on Packagist., (*4)

Mail merging using LiveDocx

If you want to use the LiveDocxManipulator for mail merging, get an account at LiveDocx, and install ZendService\LiveDocx by adding the following to your composer.json:, (*5)

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

Then configure LiveDocx in your config.yml:, (*6)

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

Install pdftk, and then configure it in your config.yml:, (*7)

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

Replace /usr/local/bin/pdftk with the path to the pdftk binary on your system., (*8)

Customization

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:, (*9)

<service id="ddeboer_document_manipulation.manipulator.live_docx"
         class="Ddeboer\DocumentManipulationBundle\Manipulator\LiveDocxManipulator">
    <tag name="ddeboer_document_manipulation.manipulator" />
</service>

Run tests

Run unit tests:, (*10)

$ phpunit

Run functional tests:, (*11)

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

Documentation

More extensive documentation will be included in the Resources/doc directory., (*12)

The Versions

30/05 2013

dev-master

9999999-dev https://github.com/ddeboer/DdeboerDocumentManipulationBundle

Use this Symfony2 bundle to manipulate Microsoft Word and PDF documents

  Sources   Download

MIT

The Requires

 

The Development Requires

merge pdf doc document mailmerge

26/02 2013

0.2

0.2.0.0 https://github.com/ddeboer/DdeboerDocumentManipulationBundle

Use this Symfony2 bundle to manipulate Microsoft Word and PDF documents

  Sources   Download

MIT

The Requires

 

The Development Requires

merge pdf doc document mailmerge

28/02 2012

0.1

0.1.0.0 https://github.com/ddeboer/DdeboerDocumentManipulationBundle

Use this Symfony2 bundle to manipulate Microsoft Word and PDF documents

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

pdf doc document