An open API service indexing awesome lists of open source software.

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

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.

[![Maintainability](https://api.codeclimate.com/v1/badges/a98629e339eeef4d56bf/maintainability)](https://codeclimate.com/github/attogram/file-cache-cleaner/maintainability)
[![Latest Stable Version](https://poser.pugx.org/attogram/file-cache-cleaner/v/stable)](https://packagist.org/packages/attogram/file-cache-cleaner)
[![Total Downloads](https://poser.pugx.org/attogram/file-cache-cleaner/downloads)](https://packagist.org/packages/attogram/file-cache-cleaner)
[![License](https://poser.pugx.org/attogram/file-cache-cleaner/license)](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:

*
*
*
*