PHPackages                             kunstmaan/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. [Admin Panels](/categories/admin)
4. /
5. kunstmaan/cache-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

kunstmaan/cache-bundle
======================

The Kunstmaan Cache bundle supplies your project with the ability to ban certain pages from Varnish from within KunstmaanCMS

7.3.0(1y ago)0120MITPHPPHP ^8.1

Since Feb 8Pushed 5mo ago6 watchersCompare

[ Source](https://github.com/Kunstmaan/KunstmaanCacheBundle)[ Packagist](https://packagist.org/packages/kunstmaan/cache-bundle)[ Docs](https://github.com/Kunstmaan/KunstmaanCacheBundle)[ RSS](/packages/kunstmaan-cache-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (6)Versions (132)Used By (0)

Using the Cache bundle
======================

[](#using-the-cache-bundle)

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

[](#installation)

This bundle is compatible with all Symfony 3.\* releases. More information about installing can be found in this line by line walkthrough of installing Symfony and all our bundles, please refer to the [Getting Started guide](https://kunstmaanbundlescms.readthedocs.io/en/stable/installation/) and enjoy the full blown experience.

Usage
-----

[](#usage)

This bundle allows you to do stuff with caching. For now it's a starting bundle with the possibility to ban stuff from varnish.

### Configure bundle in config.yml

[](#configure-bundle-in-configyml)

This bundle works with the fos http cache bundle. Therefore you need to add the following configuration, of course with your own varnish path.

```
fos_http_cache:
    proxy_client:
        varnish:
            servers:
                - 127.0.0.1:6081
    cache_manager:
        enabled: true
    invalidation:
        enabled: true
```

### Add the kunstmaan\_cache routing to your routing.yml

[](#add-the-kunstmaan_cache-routing-to-your-routingyml)

```
# KunstmaanCacheBundle
KunstmaanCacheBundle:
    resource: "@KunstmaanCacheBundle/Resources/config/routing.yml"
    prefix:   /{_locale}/
    requirements:
        _locale: "%requiredlocales%"
```

### Result

[](#result)

When you browse to "Settings" in the main menu, you will see that there is a new menu item available with the label of "Varnish ban". There you can add a path that you would like to ban from varnish. When you check the all domains option and you are using a multidomain website, the path will be banned from all hosts of your multidomain.

On nodes you have a new menu actions to clear the cache for that node.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance55

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 68.6% 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 ~20 days

Recently: every ~166 days

Total

130

Last Release

180d ago

Major Versions

5.10.5 → 6.0.12021-11-07

5.10.7 → 6.0.x-dev2022-09-22

6.4.1 → 7.0.42024-03-24

PHP version history (6 changes)5.2.0PHP ^7.1

5.7.0PHP ^7.2

5.9.0PHP ^7.2|^8.0

6.2.0PHP ^8.0

7.1.0-alpha1PHP ^8.1

7.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ecb43e61751f5fc28256b948ef82f76704338a102d5122b2a6b355e8e972df?d=identicon)[Kunstmaan](/maintainers/Kunstmaan)

---

Top Contributors

[![acrobat](https://avatars.githubusercontent.com/u/1374857?v=4)](https://github.com/acrobat "acrobat (24 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (4 commits)")[![Devolicious](https://avatars.githubusercontent.com/u/360302?v=4)](https://github.com/Devolicious "Devolicious (2 commits)")[![KunstmaanLabs](https://avatars.githubusercontent.com/u/8841390?v=4)](https://github.com/KunstmaanLabs "KunstmaanLabs (2 commits)")[![sandergo90](https://avatars.githubusercontent.com/u/1516413?v=4)](https://github.com/sandergo90 "sandergo90 (2 commits)")[![piszczek](https://avatars.githubusercontent.com/u/9069664?v=4)](https://github.com/piszczek "piszczek (1 commits)")

---

Tags

cmsadminkunstmaanvarnish

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[kunstmaan/admin-bundle

The Kunstmaan Admin bundle supplies your project with a basic, elegant backend interface you can modify and extend so you can make your perfect admin module. The clean interface makes it straightforward for you and the people working with it to change settings and modify content.

60152.3k35](/packages/kunstmaan-admin-bundle)[kunstmaan/node-bundle

All websites need pages(we call them nodes) but you probably don't want to spend too much time building them. Plus they should look pretty and contain the right content and that takes time. We make sure you have to spend less time managing your pages but still offer you flexibility so you can focus on more important tasks and don't have to worry about it.

23144.1k24](/packages/kunstmaan-node-bundle)[kunstmaan/adminlist-bundle

Every website contains several lists of content ranging from articles on a blog, to drop down values. The KunstlaanAdminListBundles takes CRUD a step further by supplying filtering, exports to csv and editing capabilities to these content entities.

21152.3k30](/packages/kunstmaan-adminlist-bundle)[kunstmaan/seo-bundle

Annotating content with metadata for social sharing and seo purposes cannot be overlooked nowadays. The KunstmaanSeoBundle contains default editing functionality for OpenGraph data, meta descriptions, keywords and titles and Metriweb tags. Because the metatagging and tracking options are always changing, a free field to add custom header information is provided as well.

28132.7k2](/packages/kunstmaan-seo-bundle)[kunstmaan/article-bundle

Add articles to your website. Use the KunstmaanGeneratorBundle to generate a new Overview/Detail article section for your website

10121.9k2](/packages/kunstmaan-article-bundle)[kunstmaan/form-bundle

Managing forms, fields and their submissions by the user is a key functionality missing in most platforms. By leveraging the KunstmaanPagePartBundle system in the KunstmaanFormBundle users gain an easy way to create and manage the form on their website, again without having to worry about the technical side of things.

20133.3k5](/packages/kunstmaan-form-bundle)

PHPackages © 2026

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