webowy / zend-pdf
Provides an easy to use functionality to output PDF in Zend Framework
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: ^5.5 || ^7.0
- zendframework/zend-servicemanager: 3.*
- zendframework/zend-view: 2.* || 3.*
- zendframework/zendpdf: 2.*
Requires (Dev)
- phpunit/phpunit: 5.*
Suggests
- webowy/zend-pdf-engine-dompdf: DOMPDF Engine
This package is not auto-updated.
Last update: 2020-09-25 02:40:33 UTC
README
Provides an easy to use functionality to output PDF in Zend Framework.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
composer require webowy/zend-pdf
That's all ;-)
Usage
Copy default configuration file ./config/pdf.global.php.dist
to Your configuration directory removing .dist
.
In Your action instead of using ViewModel or JsonModel use \Webowy\Pdf\View\Model\PdfModel
.
Available renderer engines
- DOMPDF (webowy/zend-pdf-engine-dompdf) - DOMPDF Engine.
You are free to create other engines based on interface Webowy\Pdf\View\Renderer\Engine\EngineInterface
.