PHPackages                             padam87/rasterize-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. padam87/rasterize-bundle

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

padam87/rasterize-bundle
========================

HTML to PDF Symfony bundle. Works with Puppeteer, PhantomJS, and more.

v4.5.0(2mo ago)1579.4k↓36.4%7MITPHPPHP ^8.4CI passing

Since Jan 31Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/Padam87/RasterizeBundle)[ Packagist](https://packagist.org/packages/padam87/rasterize-bundle)[ Docs](https://github.com/Padam87/RasterizeBundle)[ RSS](/packages/padam87-rasterize-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (29)Used By (0)

[![CI status](https://github.com/Padam87/RasterizeBundle/actions/workflows/ci.yaml/badge.svg)](https://github.com/Padam87/RasterizeBundle/actions/workflows/ci.yaml/badge.svg)

[![License](https://camo.githubusercontent.com/1734a7de775c6a610c15f7f4561fcaf732e3f573e0331e1a564980a799015bde/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f726173746572697a652d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/padam87/rasterize-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/5e953a0156ca2103924bf162d37e6e9e6582fbd3e51f1e6fcaf4638d51b21a78/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f726173746572697a652d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/padam87/rasterize-bundle)[![Total Downloads](https://camo.githubusercontent.com/7efd19945f63e47cc7249481f687832dc6d4a0ad8a109b64256a7cd169c2ec90/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f726173746572697a652d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/padam87/rasterize-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/e60370ee3ab3ccf832a8cd010f8873a10d6a8674351fc585a7ac1efc8b483ad9/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f726173746572697a652d62756e646c652f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/padam87/rasterize-bundle)

Rasterize Bundle
================

[](#rasterize-bundle)

A bundle to rasterize web pages with Puppeteer (or other) for Symfony2

```
$response = new Response(
    $this->get(Rasterizer::class)->rasterize(
        $this->renderView('Bundle:Folder:template.pdf.twig')
    ),
    200, [
        'Content-Type'          => 'application/pdf',
        'Content-Disposition'   => 'attachment; filename="my.pdf"'
    ]
);
```

[Installation](Resources/docs/install.md)

[Configuration reference](Resources/docs/configuration_reference.md)

**Providers**

- [Puppeteer](Resources/docs/provider/puppeteer.md)
- [Other](Resources/docs/provider/other.md)

**How to...**

- [pass arguments to the javascript file?](Resources/docs/how_to_pass_arguments.md)
- [fully customize the Symfony Process?](Resources/docs/how_to_customize_the_process.md)

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 81.3% 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

Every ~232 days

Recently: every ~534 days

Total

20

Last Release

69d ago

Major Versions

1.x-dev → v2.0.02017-01-31

v2.0.1 → v3.0.02017-12-13

v3.1.0 → v4.0.02019-01-16

3.0.x-dev → v4.1.02020-05-03

PHP version history (6 changes)v1.0.0PHP &gt;=5.3.3

v2.0.0PHP ~5.5|~7.0

v3.0.0PHP ~7.1

v4.2.0PHP ^7.1 || ^8.0

v4.3.0PHP ^8.0

v4.5.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/776488?v=4)[Adam Prager](/maintainers/Padam87)[@Padam87](https://github.com/Padam87)

---

Top Contributors

[![Padam87](https://avatars.githubusercontent.com/u/776488?v=4)](https://github.com/Padam87 "Padam87 (52 commits)")[![tborealis](https://avatars.githubusercontent.com/u/1591228?v=4)](https://github.com/tborealis "tborealis (4 commits)")[![ricohumme](https://avatars.githubusercontent.com/u/11029998?v=4)](https://github.com/ricohumme "ricohumme (2 commits)")[![Ivan-Perez](https://avatars.githubusercontent.com/u/3533970?v=4)](https://github.com/Ivan-Perez "Ivan-Perez (2 commits)")[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (2 commits)")[![markitosgv](https://avatars.githubusercontent.com/u/1706470?v=4)](https://github.com/markitosgv "markitosgv (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

symfonypdfpuppeteerphantomjsrasterize

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/padam87-rasterize-bundle/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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.

210210.4k2](/packages/sensiolabs-gotenberg-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[nucleos/dompdf-bundle

This bundle provides a wrapper for using dompdf inside symfony.

54882.8k1](/packages/nucleos-dompdf-bundle)

PHPackages © 2026

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