PHPackages                             matthecat/htmlcompressor-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. matthecat/htmlcompressor-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

matthecat/htmlcompressor-bundle
===============================

Symfony2 bundle which allow to minify cacheable HTML and XML responses using htmlcompressor

1110.4k4PHP

Since Jun 7Pushed 12y ago3 watchersCompare

[ Source](https://github.com/MatTheCat/HtmlCompressorBundle)[ Packagist](https://packagist.org/packages/matthecat/htmlcompressor-bundle)[ RSS](/packages/matthecat-htmlcompressor-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

HtmlCompressorBundle
====================

[](#htmlcompressorbundle)

Allow to minify cacheable HTML and XML responses using [htmlcompressor](https://code.google.com/p/htmlcompressor/).

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

[](#installation)

### Get the bundle

[](#get-the-bundle)

Add this line in your composer.json **require** section:

```
"matthecat/htmlcompressor-bundle": "dev-master"
```

and run this command in your project directory:

```
$ php composer.phar update matthecat/htmlcompressor-bundle
```

### Enable the bundle

[](#enable-the-bundle)

Edit your application's kernel:

```
