https://github.com/attogram/file-cache-cleaner
Delete expired cache files. For projects using Illuminate\Cache FileStore without a Laravel installation
https://github.com/attogram/file-cache-cleaner
illuminate-cache laravel-cache
Last synced: 3 months ago
JSON representation
Delete expired cache files. For projects using Illuminate\Cache FileStore without a Laravel installation
- Host: GitHub
- URL: https://github.com/attogram/file-cache-cleaner
- Owner: attogram
- License: mit
- Created: 2020-04-17T14:23:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-19T17:24:21.000Z (about 5 years ago)
- Last Synced: 2025-02-16T08:03:33.995Z (3 months ago)
- Topics: illuminate-cache, laravel-cache
- Language: PHP
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# File Cache Cleaner
Delete expired cache files. For projects using
[`Illuminate\Cache`](https://github.com/illuminate/cache) FileStore
*without* a Laravel installation.PHP 7+, One class, No dependencies, Composer Ready.
[](https://codeclimate.com/github/attogram/file-cache-cleaner/maintainability)
[](https://packagist.org/packages/attogram/file-cache-cleaner)
[](https://packagist.org/packages/attogram/file-cache-cleaner)
[](https://packagist.org/packages/attogram/file-cache-cleaner)## 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 path` or `--directory path` - set path to Cache Directory
* `-c` or `--clean` - clean cache: delete expired files, remove empty subdirectories## Project Links
* Git Repo:
* Packagist:
* CodeClimate:## Related Projects
Laravel artisan commands to delete expired cache files:
*
*
*
*