PHPackages                             smachara/html2pdfbundle - 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. smachara/html2pdfbundle

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

smachara/html2pdfbundle
=======================

This is a Bundle to use the last version of spipu-Html2pdf as a service in Symfony2 applications. I did this bundle because 'ensepar/html2pdf-bundle' does not use the last versions of spipu-Html2pdf and TCPDF. The rest still the same.

v2.1.1(4y ago)17.0k2[1 PRs](https://github.com/smachara/html2pdfbundle/pulls)LGPLPHPPHP &gt;=5.3.2

Since Mar 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/smachara/html2pdfbundle)[ Packagist](https://packagist.org/packages/smachara/html2pdfbundle)[ Docs](http://SynfonyAventure.org/)[ RSS](/packages/smachara-html2pdfbundle/feed)WikiDiscussions master Synced 1mo ago

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

smacharaHtml2pdfBundle
======================

[](#smacharahtml2pdfbundle)

This is a Bundle to use the last version of spipu-Html2pdf as a service in Symfony2 applications.

I did this bundle because "ensepar/html2pdf-bundle" does not use the last versions of spipu-Html2pdf and TCPDF. The rest still the same.

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

[](#installation)

### Step 1: Setup Bundle and dependencies

[](#step-1-setup-bundle-and-dependencies)

```
composer require smachara/html2pdfbundle

```

### Step 2: Configure the autoloader

[](#step-2-configure-the-autoloader)

Add the `smachara` namespace to your autoloader:

```
// app/autoload.php
