rovak/ghostbuster

Ghostscript 的 PHP 封装器

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

This package is not auto-updated.

Last update: 2024-09-28 13:09:23 UTC


README

Ghostscript 的 PHP 封装器

这个库仍在开发中,不应在生产环境中使用

安装

使用 composer

您可以在应用程序的根目录中运行以下命令通过 composer 安装此模块

$ ./composer.phar require rovak/ghostbuster

用法

当 API 稳定时将添加文档

$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');