PHPackages                             uthando-cms/uthando-dompdf - 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. uthando-cms/uthando-dompdf

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

uthando-cms/uthando-dompdf
==========================

A Zend Framework 2 module for incorporating DOMPDF support.

2.6.0(7y ago)1118[1 issues](https://github.com/uthando-cms/uthando-dompdf/issues)MITPHPPHP &gt;=7.0

Since Sep 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/uthando-cms/uthando-dompdf)[ Packagist](https://packagist.org/packages/uthando-cms/uthando-dompdf)[ Docs](http://shaunfreeman.name)[ RSS](/packages/uthando-cms-uthando-dompdf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (13)Versions (12)Used By (0)

UthandoDomPdf
=============

[](#uthandodompdf)

[![Build Status](https://camo.githubusercontent.com/e2d7b653b5d18a87894ca74db3cbca8f04e13252b8e136b3ae6a34133b24a37e/68747470733a2f2f7472617669732d63692e6f72672f757468616e646f2d636d732f757468616e646f2d646f6d7064662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/uthando-cms/uthando-dompdf)[![Test Coverage](https://camo.githubusercontent.com/10d088fcf2c918b90a585325cb595aed3c14b823d61ed7edcd1e0b48239dcf87/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f757468616e646f2d636d732f757468616e646f2d646f6d7064662f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/uthando-cms/uthando-dompdf/coverage)[![Code Climate](https://camo.githubusercontent.com/5fe86781d02769dacd815970b6f740b44a1c4a1076278460020e0a6bbc63577f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f757468616e646f2d636d732f757468616e646f2d646f6d7064662f6261646765732f6770612e737667)](https://codeclimate.com/github/uthando-cms/uthando-dompdf)[![Dependency Status](https://camo.githubusercontent.com/14a4995552cc8278b3aec8320357c2b88eb0b94348583c7ca38c33dbaf340e26/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535656439306332323131633662303031393030316161322f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/55ed90c2211c6b0019001aa2)[![Packagist](https://camo.githubusercontent.com/26c22b46820af8a2fba35943d125b00768ed52b030a3e492172668ca9d26d389/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f757468616e646f2d636d732f757468616e646f2d646f6d7064662e737667)](https://packagist.org/packages/uthando-cms/uthando-dompdf)

This project is based on . I have adapted it for Uthando CMS but it can be used independently. The UthandoDomPdf 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 UthandoDomPdf 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": {
            "uthando-cms/uthando-dompdf": "2.*"
        }
    }
    ```
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`:

    ```
    'UthandoDomPdf',
    ```

#### Configuration options

[](#configuration-options)

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

Usage
-----

[](#usage)

```
