PHPackages                             rarog/dompdf-helper - 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. rarog/dompdf-helper

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

rarog/dompdf-helper
===================

DompdfHelper - a lightweight library wrapper Laminas module

4.2.0(3y ago)229.2k↓37.7%1BSD-3-ClausePHPPHP ^8.0

Since Nov 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rarog/dompdf-helper)[ Packagist](https://packagist.org/packages/rarog/dompdf-helper)[ RSS](/packages/rarog-dompdf-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (11)Used By (0)

DompdfHelper
============

[](#dompdfhelper)

DompdfHelper - a lightweight library wrapper Laminas module

[![Build Status](https://camo.githubusercontent.com/a318d897949ee79cc57794b4c54020cd9278795efcc8e71d6149919682f28b30/68747470733a2f2f7472617669732d63692e6f72672f7261726f672f646f6d7064662d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rarog/dompdf-helper)[![Coverage Status](https://camo.githubusercontent.com/bd4e3ead3a2ecfe94ad371033bf186eec4199930ff0b85e53eb372609bac77fe/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7261726f672f646f6d7064662d68656c7065722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/rarog/dompdf-helper?branch=master)

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

[](#requirements)

- [Laminas](https://getlaminas.org/)

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

[](#installation)

Installation of DompdfHelper 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": {
            "rarog/dompdf-helper": "^4.0"
        }
    }
    ```
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`:

    ```
    'DompdfHelper',
    ```

#### Configuration options

[](#configuration-options)

You can override default options via the `dompdf` key in your local or global config files. See the [config/dompdf.config.php.dist](https://github.com/rarog/dompdf-helper/blob/master/config/dompdf.config.php.dist) file for the list of default settings.

Full list of possible settings is available at the official [Dompdf library](https://github.com/dompdf/dompdf) site.

#### Example usage

[](#example-usage)

Controller factory

```
