Clone it.
$ git clone https://github.com/HyanCat/composer-proxyResolve dependencies with composer
$ composer installCopy
config.example.phpand rename toconfig.php, then change configuration for applicationChange permission for cache directories if needed
$ chmod 777 cache
Register the script to crontab
php /path/to/app/console.php cache:clear-old-filecache:clear-old-filecommand can delete old cache file.packages.json(the root file to define packages) is deleted every 5 minutes (default) by this command. Other file TTL is 6 months.--ttl (-t): TTL ofpackages.json. default is 300 seconds.--dry-run: Show the action without real remove operations.--without-hashed-file: You can ignore to delete package definition file.--hashed-file-ttl: TTL of package definition file. default is 15,552,000 seconds. (6 months)
You can change TTL by options of this command.
If you need to delete all of the cache information, you can delete by following command.
php /path/to/app/console.php cache:clear-all