PHP code example of chomenko / cache-cleaner

1. Go to this page and download the library: Download chomenko/cache-cleaner library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

chomenko / cache-cleaner example snippets



//bootstrap.php

use Chomenko\CacheCleaner\DI\CacheCleanerExtension;

$configurator = new Nette\Configurator();
CacheCleanerExtension::register($configurator);
bash
php www/index.php cache:clean