PHPackages                             parabol/parabol-cache-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. [Caching](/categories/caching)
4. /
5. parabol/parabol-cache-bundle

ActiveSymfony-bundle[Caching](/categories/caching)

parabol/parabol-cache-bundle
============================

Automatic web cache system for symfony3 projects.

1.0.2(9y ago)025MITPHPPHP &gt;=5.6.0

Since Nov 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/parabolalab/ParabolCacheBundle)[ Packagist](https://packagist.org/packages/parabol/parabol-cache-bundle)[ Docs](https://github.com/parabolalab/ParabolCacheBundle)[ RSS](/packages/parabol-parabol-cache-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (4)Used By (0)

\#ParabolCacheBundle The ParabolCacheBundle provides view caching functionality for Symfony/Doctrine (for now only ORM) projects based on request/response events. All responses for GET-requests (expect actions defined as excluded in bundle config) are stored in separated and minified files in symfony cache directory. The bundle also creates mapping for Doctrine queries in order to automatically clear only those cached files that are related to changing entity.

Pros:

- Very easy installation
- Start working just after 3 simple installation steps
- Automatically creates cache for all not excluded actions
- Automatically creates mapping between actions and entities
- Automatically clear cached files related to Doctrine Entity in postPersist/postUpdate events.
- Minify HTML output - useful for getting Google PageSpeed Tools better results ;)

\##How it works ...

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

[](#installation)

\###1) Install via Composer:

```
composer require parabol/parabol-cache-bundle

```

\###2) Enable bundle in app/AppKernel.php by adding in registerBundles():

```
new Parabol\CacheBundle\ParabolCacheBundle()

```

\###3) Change default Doctrine EntityManager by adding to app/config/config.yml:

```
parameters:
	doctrine.orm.entity_manager.class: Parabol\CacheBundle\Doctrine\ORM\EntityManager

```

\###Congratulation your HTML Cache System should be working now.

Configuration
-------------

[](#configuration)

\###Default bundle configuration

```
parabol_cache:
	cache_dev: false
	minifier_command:
	minifier_command_params: -o :target :source --case-sensitive --collapse-boolean-attributes  --collapse-inline-tag-whitespace --collapse-whitespace --html5 --keep-closing-slash --remove-attribute-quotes --remove-comments --remove-empty-attributes --use-short-doctype --minify-css --minify-js
	exclude: []
	exclude_pattern: ^\/(_|assetic|admin)

```

\###Enable html-minifier In symfony config.yml file put minifier\_command parameter with path to html-minifier proceeded by path to node.js:

```
parabol_cache:
	minifier_command: /usr/local/bin/node /usr/local/bin/html-minifier

```

or for better project movability in parameters.yml

```
parameters:
	minifier_command: /usr/local/bin/node /usr/local/bin/html-minifier

```

You can modify minified output by change minifier\_command\_params but keep in mind that the value must include the keywords: :target and :source

\###Other minifier

If you want to use an other minfier just put right path in minifier\_command and proper command parameters in minifier\_command\_params.

\###Excluding actions from caching To exclude some actions from caching put their names (Bundle:Controller:action) into exclude array

```
parabol_cache:
	exclude: [AppBundle:Default:index, AppBundle:Other:show]

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~45 days

Total

3

Last Release

3480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d0af527e8619715ba8ed798cc921188695d1e967a33903d47970f402429a9ed?d=identicon)[parabolalab](/maintainers/parabolalab)

---

Top Contributors

[![parabolalab](https://avatars.githubusercontent.com/u/1681394?v=4)](https://github.com/parabolalab "parabolalab (14 commits)")

---

Tags

cachecachinghtml minifierHTML minifycache systemcaching systemhtml minimize

### Embed Badge

![Health badge](/badges/parabol-parabol-cache-bundle/health.svg)

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

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k789.5M3.1k](/packages/psr-simple-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

445138.3M50](/packages/react-cache)[tedivm/stash

The place to keep your cache.

9634.9M133](/packages/tedivm-stash)[spatie/blink

Cache that expires in the blink of an eye

1675.8M12](/packages/spatie-blink)[gregwar/cache

A lightweight file-system cache system

1084.6M23](/packages/gregwar-cache)[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

155489.2k41](/packages/putyourlightson-craft-blitz)

PHPackages © 2026

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