PHPackages                             versatecnologia/dompdf-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. versatecnologia/dompdf-module

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

versatecnologia/dompdf-module
=============================

A Zend Framework 2 module for incorporating DOMPDF support.

v0.4.0(12y ago)026MITPHPPHP &gt;=5.3.0

Since Jun 27Pushed 5y agoCompare

[ Source](https://github.com/versatecnologia/DOMPDFModule)[ Packagist](https://packagist.org/packages/versatecnologia/dompdf-module)[ Docs](http://raymondkolbe.com)[ RSS](/packages/versatecnologia-dompdf-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

DOMPDFModule
============

[](#dompdfmodule)

[![Build Status](https://camo.githubusercontent.com/b037dd118c87d6d75ed707292357aff0afdda4308b8029e148c60cf89c60f732/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7261796b6f6c62652f444f4d5044464d6f64756c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/raykolbe/DOMPDFModule) [![Code Climate](https://camo.githubusercontent.com/963a92932ee79a4174fe16e92933961f3df6d796f9cef647d6bd96e6476f3f3d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7261796b6f6c62652f444f4d5044464d6f64756c652f6261646765732f6770612e737667)](https://codeclimate.com/github/raykolbe/DOMPDFModule) [![Test Coverage](https://camo.githubusercontent.com/fe6f9c5068974563f7dd7ddd743e692fa00fb1a174adee151c5b8cb026120493/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7261796b6f6c62652f444f4d5044464d6f64756c652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/raykolbe/DOMPDFModule/coverage) [![Total Downloads](https://camo.githubusercontent.com/d3b88efd75367b8557a948f1b030d2ba167cb4a0d4ff4bae76fa6112a9991b2b/68747470733a2f2f706f7365722e707567782e6f72672f64696e6f2f646f6d7064662d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/dino/dompdf-module) [![License](https://camo.githubusercontent.com/5ad643f0efea4763e5e5b49eb4d1d14a5beb3f8cbffccef29ce10a549633a83a/68747470733a2f2f706f7365722e707567782e6f72672f64696e6f2f646f6d7064662d6d6f64756c652f6c6963656e7365)](https://packagist.org/packages/dino/dompdf-module)

The DOMPDF module integrates the DOMPDF library with Zend Framework 2 with minimal effort on the consumer's end.

Requirements
------------

[](#requirements)

- [Zend Framework 2](http://www.github.com/zendframework/zf2)

Installation
------------

[](#installation)

Installation of DOMPDFModule uses PHP Composer. For more information about PHP Composer, please visit the official [PHP Composer site](http://getcomposer.org/).

#### Installation steps

[](#installation-steps)

1. `cd my/project/directory`
2. create a `composer.json` file with following contents:

    ```
    {
        "require": {
            "dino/dompdf-module": "dev-master"
        }
    }
    ```
3. install PHP Composer via `curl -s http://getcomposer.org/installer | php` (on windows, download  and execute it with PHP)
4. run `php composer.phar install`
5. open `my/project/directory/config/application.config.php` and add the following key to your `modules`:

    ```
    'DOMPDFModule',
    ```

#### Configuration options

[](#configuration-options)

You can override options via the `dompdf_module` key in your local or global config files. See DOMPDFModule/config/module.config.php for config options.

Usage
-----

[](#usage)

```
