PHPackages                             ob/cachenuke-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. ob/cachenuke-bundle

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

ob/cachenuke-bundle
===================

Symfony2 bundle that provides a nice button to annihilate your cache from the comfort of your browser

262PHP

Since Jan 21Pushed 11y ago1 watchersCompare

[ Source](https://github.com/marcaube/Nuke)[ Packagist](https://packagist.org/packages/ob/cachenuke-bundle)[ RSS](/packages/ob-cachenuke-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Nuke
====

[](#nuke)

Nuke provides a nice button to annihilate your cache from the comfort of your browser, it's violent like that.

Usage
-----

[](#usage)

Import the template fragment where you need it ...

```
{% include "ObCacheNukeBundle::button.html.twig" %}
```

... click on the darn thing and take a sip of coffee while war is waging on your cache files!

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

[](#installation)

#### Run `composer require ob/cachenuke-bundle`

[](#run-composer-require-obcachenuke-bundle)

#### Register the bundles in `app/AppKernel.php`

[](#register-the-bundles-in-appappkernelphp)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new FOS\JsRoutingBundle\FOSJsRoutingBundle(),
        new Ob\CacheNukeBundle\ObCacheNukeBundle(),
    );
}
```

#### Register the routing in `app/config/routing.yml`

[](#register-the-routing-in-appconfigroutingyml)

```
ob_cache_nuke:
    resource: "@ObCacheNukeBundle/Resources/config/routing.yml"
    prefix:   /

fos_js_routing:
    resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
```

*You should probably – like seriously, do it – add a route prefix that's behind the firewall, that way no weirdo with too much time will write a script to continuously clear your cache.*

#### Publish assets:

[](#publish-assets)

```
$ php app/console assets:install --symlink web
```

Credit
------

[](#credit)

- [FOSJsRoutingBundle](https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/blob/1.5.2/Resources/doc/index.md) by Friends of Symfony
- [Ladda buttons](https://github.com/hakimel/Ladda) by [Hakim El Hattab](https://github.com/hakimel)

License
-------

[](#license)

This bundle is released under the MIT License. See the bundled LICENSE file for details.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1478986?v=4)[Marc Aubé](/maintainers/marcaube)[@marcaube](https://github.com/marcaube)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ob-cachenuke-bundle/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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