rovak/ghostbuster

PHP wrapper for Ghostscript

dev-master 2012-10-06 11:35 UTC

This package is not auto-updated.

Last update: 2024-04-27 11:22:37 UTC


README

PHP wrapper for Ghostscript

This library is still work in progress and should not be used in a production environment

Installation

Using composer

You can install this module via composer by running the following command in your application's root directory:

$ ./composer.phar require rovak/ghostbuster

Usage

Documentation will be added when the API is stable

$document = new \Ghostbuster\Document\Document('document.pdf');

$batch = new \Ghostbuster\Renderer\Batch();
$batch  ->addDocument($document)
        ->addDocument($document->getRange(1,3))
        ->addDocument($document->getRange(2,2))
        ->output('result.pdf');