PHPackages                             darkkrye/cache-clear-toolbar - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. darkkrye/cache-clear-toolbar

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

darkkrye/cache-clear-toolbar
============================

CacheClearToolbar is an addon to the Symfony Web Debug Toolbar.

v1.0(9y ago)028MITHTMLPHP &gt;=5.4.0

Since Nov 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Darkkrye/CacheClearToolbar)[ Packagist](https://packagist.org/packages/darkkrye/cache-clear-toolbar)[ RSS](/packages/darkkrye-cache-clear-toolbar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

CacheClearToolbar
=================

[](#cachecleartoolbar)

CacheClearToolbar is an addon to the Symfony Web Debug Toolbar.

```
The CacheClearToolbar design uses Bootstrap classes.
If you do not use it, the CacheClearToolbar will lose his awesome adapted design. ;)

```

It allows you to quickly :

- See the current route name,
- Clear the dev cache and refresh the page,
- Clear the prod cache and refresh the page,
- Clear both cache and refresh the page or
- Just refresh the page.

[![alt text](web/cachecleartoolbar.png "CacheClearToolbar")](web/cachecleartoolbar.png)

Usage
-----

[](#usage)

When the page is loaded, the Symfony Web Debug Toolbar is loaded. Just watch the last information in the Toolbar to see the CacheClearToolbar went alive.

```
To use this addon, you must have, at least, the version 3.0 of Symfony.
The addon may work on previous version but it has not been tested.

```

Install
-------

[](#install)

### Download from Github

[](#download-from-github)

- Unzip Bundle,
- Rename folder to `CacheClearToolbar`
- Move folder to `'MySymfonyProject'/src/Darkkrye/`

### Download from Composer

[](#download-from-composer)

- Open terminal in your Symfony project folder,
- Run `composer require darkkrye/cache-clear-toolbar`

### Register into AppKernel

[](#register-into-appkernel)

- Add the following code into AppKernel :

```
// app/AppKernel.php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    [...]
    $bundles[] = new Darkkrye\CacheClearToolbar\CacheClearToolbar();
}
```

### Add to route file

[](#add-to-route-file)

- Add the following code into main route file :

```
// app/config/routing.yml
cache_clear_toolbar:
    resource: "@CacheClearToolbar/Resources/config/routing.yml"
    prefix: /cache_clear_toolbar
```

### Reload

[](#reload)

- Reload and enjoy !

Version
-------

[](#version)

The CacheClearToolbar stable current version is : 1.0

TODO !
------

[](#todo-)

- Create Web Debug Toolbar tool,
- Add additional namespace,
- Release to composer,
- Change properties to only work in dev environment,
- Add new route to just clear the cache and close the tab,
- Add his own css rules,
- Create Symfony project which implements the CacheClearToolbar.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

2

Last Release

3455d ago

Major Versions

v0.0 → v1.02016-11-22

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/darkkrye-cache-clear-toolbar/health.svg)

```
[![Health](https://phpackages.com/badges/darkkrye-cache-clear-toolbar/health.svg)](https://phpackages.com/packages/darkkrye-cache-clear-toolbar)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M914](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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