PHPackages                             leooteam/cache-cleaner-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. leooteam/cache-cleaner-bundle

ActiveLibrary

leooteam/cache-cleaner-bundle
=============================

Easy and automatic assets versioning for Symfony

1.0(9y ago)25.1k1MIT LicensePHP

Since Dec 22Pushed 9y ago2 watchersCompare

[ Source](https://github.com/team-leoo/CacheCleaner)[ Packagist](https://packagist.org/packages/leooteam/cache-cleaner-bundle)[ RSS](/packages/leooteam-cache-cleaner-bundle/feed)WikiDiscussions master Synced 1mo ago

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

README
======

[](#readme)

### What is this repository for?

[](#what-is-this-repository-for)

This Repository let you change the framework\_assets\_version to force client to reload assets. You can either define specific commands (like `assets:install` or `assetic:dump`) that will be overloaded or use the new commands to do so manually.

### Installation

[](#installation)

Add to your composer.json file:

```
"require": {
    "leooteam/cache-cleaner-bundle": "dev-master@dev"
},

```

Then, run `composer update leooteam/cache-cleaner-bundle`

Add the bundle to your AppKernel.php file:

```
$bundles = array(
    ...
    new LeooTeam\CacheCleanerBundle\LeooTeamCacheCleanerBundle(),
);

```

### Requirements

[](#requirements)

This bundle requires Symfony &gt;= 2.8

### Configuration

[](#configuration)

**Required** : import the configuration file (warning: it might be missing so you must add "ignore\_errors").

```
#app/config/config.yml
imports:
    - { resource: "@LeooTeamCacheCleanerBundle/Resources/config/versions.yml", ignore_errors: true }

```

**Optional** : add some commands that will trigger the event.

```
leoo_team_cache_cleaner:
    commands: ['assets:install', 'assetic:dump']

```

### Usages

[](#usages)

If you have done the second step from configuration part, each time you'll call a command which is declared in `leoo_team_cache_cleaner.commands`, the version will be updated automatically. You can also use the ccleaner commands:

- `ccleaner:show` --&gt; display current version, and previous ones.
- `ccleaner:update [-c=VERSION_NUMBER]` --&gt; update the version, parameter is optional
- `ccleaner:rollback [-c=ROLLBACK_COUNT]` --&gt; rollback the version, parameter is optional
- `ccleaner:restore -c=VERSION_NUMBER` --&gt; restore the specified version, parameter is *required*

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

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

Unknown

Total

1

Last Release

3426d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[ed/blog-bundle

Symfony EDBlogBundle

348.4k](/packages/ed-blog-bundle)[ecentria/ecentria-rest-bundle

Goal of this bundle is to simplify process of creating APIs with Symfony. We use already well-coded libraries, combine them together to simplify process and not to re-invent the wheel. We've chose REST and HATEOS to have unified standards of API requests and responses.

142.4k](/packages/ecentria-ecentria-rest-bundle)

PHPackages © 2026

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