Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Document Manipulation Bundle Laravel Package

ddeboer/document-manipulation-bundle

View on GitHub
Deep Wiki
Context7

Build Status

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.

Features

(todo)

Installation

This bundle is available on Packagist.

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:

    "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

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

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:

<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:

$ phpunit

Run functional tests:

$ 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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver