PHPackages                             mmoreram/cache-flush-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. mmoreram/cache-flush-bundle

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

mmoreram/cache-flush-bundle
===========================

Symfony cache flusher

v1.0.1(9y ago)118.8k2MITPHPPHP &gt;=7.1

Since Mar 12Pushed 9y ago2 watchersCompare

[ Source](https://github.com/mmoreram/CacheFlushBundle)[ Packagist](https://packagist.org/packages/mmoreram/cache-flush-bundle)[ Docs](https://github.com/mmoreram/CacheFlushBundle)[ RSS](/packages/mmoreram-cache-flush-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (8)Versions (8)Used By (2)

Cache Flush Bundle
==================

[](#cache-flush-bundle)

[![Build Status](https://camo.githubusercontent.com/37ad2be06e0180c31aa147d8b0ad3344fcc9cb1e092ae8f16515bb6a4a8575fa/68747470733a2f2f7472617669732d63692e6f72672f6d6d6f726572616d2f4361636865466c75736842756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/mmoreram/CacheFlushBundle)

---

Flush all your kernel content with a simple Symfony service.

```
$this
    ->container
    ->get('cache_flusher')
    ->flushCache()
```

by default the service will flush the cache of the kernel loaded in the framework, but you can explicitly flush one kernel's cache by passing the kernel as the first and unique method's parameter.

```
$myOtherKernel = //
$this
    ->container
    ->get('cache_flusher')
    ->flushCache($myOtherKernel)
```

You can inject the service as well.

```
my_service:
    class: MyService\Namespace
    arguments:
        '@cache_flusher'
```

The service dispatches as well two events, one just before flush the kernel's cache, and another one just after. In both cases, an instance of `CacheFlushEvent` is dispatched, with the used kernel inside.

```
my_event_listener:
    class: MyEventListener\Namespace
    tags:
        - { name: kernel.event_listener, event: cache.pre_flush }
        - { name: kernel.event_listener, event: cache.on_flush }

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

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 ~109 days

Recently: every ~140 days

Total

7

Last Release

3474d ago

Major Versions

v0.2.1 → v1.0.02016-12-15

PHP version history (3 changes)v0.1.0PHP &gt;=5.4

v0.2.0PHP ^5.4|^7.0

v1.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e8cb88fa6413489c9cdb77288a06ff94b4553aa497d8fc0ee1891576053f1306?d=identicon)[mmoreram](/maintainers/mmoreram)

---

Top Contributors

[![mmoreram](https://avatars.githubusercontent.com/u/521409?v=4)](https://github.com/mmoreram "mmoreram (13 commits)")

---

Tags

Symfony2cacheflush

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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