PHPackages                             bushidoio/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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. bushidoio/pdf-bundle

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

bushidoio/pdf-bundle
====================

BushidoIOPDFBundle

v2.0.0(8y ago)148MITPHPPHP &gt;=5.3.2

Since May 6Pushed 2y agoCompare

[ Source](https://github.com/BushidoIO/PDFBundle)[ Packagist](https://packagist.org/packages/bushidoio/pdf-bundle)[ Docs](https://github.com/BushidoIO/PDFBundle)[ RSS](/packages/bushidoio-pdf-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

BushidoIOPDFBundle
==================

[](#bushidoiopdfbundle)

The BushidoIOPDFBundle adds PDF file creation support in Symfony.

Features included:

- PDF creation from HTML string content
- `Symfony\Component\HttpFoundation\Response` object encapsulation with `application/pdf` content type
- Temporal data and fonts paths can be located inside or outside Symfony app folder tree

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

[](#installation)

### Step 1: Composer

[](#step-1-composer)

Add the following require line to the `composer.json` file:

```
{
    "require": {
        "bushidoio/pdf-bundle": "dev-master"
    }
}
```

And actually install it in your project using Composer:

```
php composer.phar install
```

You can also do this in one step with this command:

```
$ php composer.phar require bushidoio/pdf-bundle "dev-master"
```

### Step 2: Enable the bundle

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

Enable the bundle in the kernel:

```
