PHPackages                             es/dompdf-bundle - 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. es/dompdf-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

es/dompdf-bundle
================

This bundle provides a wrapper for using dompdf inside symfony.

1.0.0(9y ago)09.8k2MITPHPPHP &gt;=5.3

Since Feb 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ezimnitskiy/dompdf-bundle)[ Packagist](https://packagist.org/packages/es/dompdf-bundle)[ Docs](https://effectivesoft.com)[ RSS](/packages/es-dompdf-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

What is DompdfBundle?
=====================

[](#what-is-dompdfbundle)

This bundle provides a wrapper for using [dompdf](https://github.com/dompdf/dompdf) inside symfony.

### Installation

[](#installation)

```
php composer.phar require es/dompdf-bundle

```

### Enabling the bundle

[](#enabling-the-bundle)

```
    // app/AppKernel.php

    public function registerBundles()
    {
        return array(
            // ...

            new ES\DompdfBundle\ESDompdfBundle(),

            // ...
        );
    }
```

### Usage

[](#usage)

Whenever you need to turn a html page into a pdf just use this anywhere in your controller:

```
// Set some html and get the service
$html = 'Sample TitleLorem Ipsum';
$dompdf = $this->get('dompdf');

// Stream the pdf to the browser
$dompdf->streamHtml($html, "document.pdf");

// Get binary content of the pdf document
$dompdf->getPdf($html);
```

### Configuration

[](#configuration)

You can configure each dompdf option under the `config` key.

```
es_dompdf:
    defaults:
        dpi: 150
        defaultPaperSize: A4
        ...
```

This bundle is available under the [MIT license](LICENSE.md).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3423d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14270348?v=4)[ezimnitskiy](/maintainers/ezimnitskiy)[@ezimnitskiy](https://github.com/ezimnitskiy)

---

Top Contributors

[![ezimnitskiy](https://avatars.githubusercontent.com/u/14270348?v=4)](https://github.com/ezimnitskiy "ezimnitskiy (2 commits)")[![kruglikoves2](https://avatars.githubusercontent.com/u/32303134?v=4)](https://github.com/kruglikoves2 "kruglikoves2 (1 commits)")

---

Tags

symfonybundlepdfdompdf

### Embed Badge

![Health badge](/badges/es-dompdf-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/es-dompdf-bundle/health.svg)](https://phpackages.com/packages/es-dompdf-bundle)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.4k99.4M362](/packages/barryvdh-laravel-dompdf)[nucleos/dompdf-bundle

This bundle provides a wrapper for using dompdf inside symfony.

551.0M1](/packages/nucleos-dompdf-bundle)[sensiolabs/gotenberg-bundle

A Symfony bundle that provides seamless integration with Gotenberg for generating PDFs and screenshots from various sources (HTML, Markdown, Office documents, URLs) with a clean, builder-based API.

231368.6k2](/packages/sensiolabs-gotenberg-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

66529.9k10](/packages/web-auth-webauthn-symfony-bundle)[ensepar/html2pdf-bundle

Use HTML2PDF as a Symfony Service

28679.8k1](/packages/ensepar-html2pdf-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
