Skip to content

Delete expired cache files. For projects using Illuminate\Cache FileStore without a Laravel installation

License

Notifications You must be signed in to change notification settings

attogram/file-cache-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Cache Cleaner

Delete expired cache files. For projects using Illuminate\Cache FileStore without a Laravel installation.

PHP 7+, One class, No dependencies, Composer Ready.

Maintainability Latest Stable Version Total Downloads License

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

Related Projects

Laravel artisan commands to delete expired cache files:

About

Delete expired cache files. For projects using Illuminate\Cache FileStore without a Laravel installation

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages