attogram/file-cache-cleaner
Composer 安装命令:
composer require attogram/file-cache-cleaner
包简介
Delete expired Laravel-style `Illuminate\Cache` cache files and empty directories
README 文档
README
Delete expired cache files. For projects using
Illuminate\Cache FileStore
without a Laravel installation.
PHP 7+, One class, No dependencies, Composer Ready.
Usage
Install:
composer require attogram/file-cache-cleaner
Report on cache status only:
vendor/bin/file-cache-cleaner -d path/to/cache/directory
Clean cache - delete expired cache files and empty subdirectories:
vendor/bin/file-cache-cleaner -d path/to/cache/directory --clean
Command Line Options:
-d pathor--directory path- set path to Cache Directory-cor--clean- clean cache: delete expired files, remove empty subdirectories
Project Links
- Git Repo: https://github.com/attogram/file-cache-cleaner
- Packagist: https://packagist.org/packages/attogram/file-cache-cleaner
- CodeClimate: https://codeclimate.com/github/attogram/file-cache-cleaner
Related Projects
Laravel artisan commands to delete expired cache files:
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-17