chomenko / cache-cleaner
Cache cleaner for Nette Framework
Installs: 578
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:extensions
Requires
- php: >=5.6
- kdyby/console: ^2.7
- latte/latte: >=2.4
- nette/caching: ^2.5
- nette/di: ^2.4
- nette/http: ^2.4
- nette/neon: >=2.4
This package is auto-updated.
Last update: 2024-10-29 05:16:45 UTC
README
Extension from Nette framework
Install
composer require chomenko/cache-cleaner
Configuration
Register extension
<?php //bootstrap.php use Chomenko\CacheCleaner\DI\CacheCleanerExtension; $configurator = new Nette\Configurator(); CacheCleanerExtension::register($configurator);
Optional configuration
dirs
directory list for clean
ignoreFiles
file list for ignore
CacheCleaner: dirs: - %tempDir% ignoreFiles: - .gitignore - .gitkeep
Use
Console
php www/index.php cache:clean