chomenko/cache-cleaner

There is no license information available for the latest version (v1.0.1) of this package.

Cache cleaner for Nette Framework

v1.0.1 2019-03-19 14:29 UTC

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

or tracy panel
panel.png