PHPackages                             schoenef/html-to-pdf-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. schoenef/html-to-pdf-bundle

ActiveSymfony-bundle

schoenef/html-to-pdf-bundle
===========================

A simple bundle to add html 2 pdf service provider in a simple way to your symfony project.

v1.0.3(8mo ago)153[1 issues](https://github.com/Andreas-Schoenefeldt/SchoenefHtmlToPdfBundle/issues)MITPHPPHP &gt;=8.1

Since Apr 1Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/Andreas-Schoenefeldt/SchoenefHtmlToPdfBundle)[ Packagist](https://packagist.org/packages/schoenef/html-to-pdf-bundle)[ RSS](/packages/schoenef-html-to-pdf-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

SchoenefHtmlToPdfBundle
=======================

[](#schoenefhtmltopdfbundle)

A simple bundle to add html 2 pdf service provider in a simple way to your symfony project. Currently, it supports:

- [html2pdfrocket.com](https://www.html2pdfrocket.com)

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

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require schoenef/html-to-pdf-bundle:~2.0
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, if not happening automatically, enable the bundle by adding it to the list of registered bundles in the `cofig/bundles.php` file of your project:

```
