PHPackages                             attogram/file-cache-cleaner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. attogram/file-cache-cleaner

ActiveLibrary

attogram/file-cache-cleaner
===========================

Delete expired Laravel-style `Illuminate\\Cache` cache files and empty directories

v2.5.0(5y ago)1341MITPHPPHP ^7

Since Apr 17Pushed 5y agoCompare

[ Source](https://github.com/attogram/file-cache-cleaner)[ Packagist](https://packagist.org/packages/attogram/file-cache-cleaner)[ GitHub Sponsors](https://github.com/attogram)[ RSS](/packages/attogram-file-cache-cleaner/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (12)Used By (1)

File Cache Cleaner
==================

[](#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://camo.githubusercontent.com/8261799484e6fd103148d020a41395120e99de7029da68658856de3cede657a6/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f61393836323965333339656565663464353662662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/attogram/file-cache-cleaner/maintainability)[![Latest Stable Version](https://camo.githubusercontent.com/27bcb6192ebc7c7e90740bb444df90d7b1902350566c79f406f1e8536b684425/68747470733a2f2f706f7365722e707567782e6f72672f6174746f6772616d2f66696c652d63616368652d636c65616e65722f762f737461626c65)](https://packagist.org/packages/attogram/file-cache-cleaner)[![Total Downloads](https://camo.githubusercontent.com/0fc6b04eaaed85e23eb0e2bb3346640f85a43097402c320da2cee5b060e8b3d2/68747470733a2f2f706f7365722e707567782e6f72672f6174746f6772616d2f66696c652d63616368652d636c65616e65722f646f776e6c6f616473)](https://packagist.org/packages/attogram/file-cache-cleaner)[![License](https://camo.githubusercontent.com/789c55b6620c7e5c7682b1496445f0942f0bf3d4e6b8ef1017770b9246111860/68747470733a2f2f706f7365722e707567782e6f72672f6174746f6772616d2f66696c652d63616368652d636c65616e65722f6c6963656e7365)](https://packagist.org/packages/attogram/file-cache-cleaner)

Usage
-----

[](#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
-------------

[](#project-links)

- Git Repo:
- Packagist:
- CodeClimate:

Related Projects
----------------

[](#related-projects)

Laravel artisan commands to delete expired cache files:

-
-
-
-

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

11

Last Release

2182d ago

Major Versions

v1.0.2 → v2.0.02020-04-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d9bd73aa2ddae66abc8ba1f32e093fc66e7b7b7fa4f35d6b0ec087cdd341fa3?d=identicon)[attogram](/maintainers/attogram)

---

Top Contributors

[![attogram](https://avatars.githubusercontent.com/u/8653063?v=4)](https://github.com/attogram "attogram (48 commits)")

---

Tags

illuminate-cachelaravel-cache

### Embed Badge

![Health badge](/badges/attogram-file-cache-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/attogram-file-cache-cleaner/health.svg)](https://phpackages.com/packages/attogram-file-cache-cleaner)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
