Download the PHP package daoandco/cakephp-cachecleaner without Composer
On this page you can find all versions of the php package daoandco/cakephp-cachecleaner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daoandco/cakephp-cachecleaner
More information about daoandco/cakephp-cachecleaner
Files in daoandco/cakephp-cachecleaner
Package cakephp-cachecleaner
Short Description CacheCleaner plugin for CakePHP, this shell clean the cache of your application.
License
Informations about the package cakephp-cachecleaner
CacheCleaner plugin for CakePHP
This plugin is a shell that cleans the cache in your application
Requirements
- PHP version 5.4.16 or higher
- CakePhp 3.0 or higher
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
Loading the Plugin
Quick Start
Clear all cache
Clear cake cache
Tasks
ORM
It's the equivalent to orm_cache clear
. See more informations
Cake
Clear the cache generate by Cake\Cache\Cache
Opcache
Resets the entire opcode cache, See more informations
Dir
Clear directories in "tmp/cache/"
-
Clear all directories
-
Clear one directory
- Clear many directories
Configuration
Create config file
Create a file in app/config
like 'vendor/daoandco/cakephp-cachecleaner/config/config.php'
Load configuration
Options
-
tasks : add or remove tasks Exemple : if you do not want Opcache you can write
- Dir.dirs : choose the folders to clear
Exemple : if you want clear only
persistent
forler you can write
Create a new task for your usage
You can add your own tasks, Your class must implement Task Interface