mouf / utils.cache.purge-ui
This package contains a user interface that will add a 'Purge cache' button to Mouf, allowing you to purge any PSR-6, PSR-16, Doctrine and Mouf cache easily.
Installs: 183 751
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 0
Open Issues: 0
Type:mouf-library
Requires
- php: >=5.5
- mouf/utils.composite-exception: ~1.0
Requires (Dev)
- doctrine/cache: ^1.4
- mouf/utils.cache.cache-interface: ^2
- psr/cache: ^1.0
- psr/simple-cache: ^1.0
README
When you include this library in your Mouf project, an additional button appears in the Mouf navigation bar.
By clicking this button, you can purge automatically all PSR-6, PSR-16, Doctrine and Mouf cache instances that are declared in Mouf.
Also, a "cache" menu item is added providing a UI letting UI selectively purge some cache pools.
Furthermore, this package provides an interface: Mouf\Utils\Cache\Purge\PurgeableInterface
.
If you implement this interface on your Mouf instances, the purge
method will be automatically
called when you click the "Purge cache" button in Mouf UI.