PHPackages                             imanghafoori/laravel-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. [Caching](/categories/caching)
4. /
5. imanghafoori/laravel-file-cache-cleaner

ActiveLibrary[Caching](/categories/caching)

imanghafoori/laravel-file-cache-cleaner
=======================================

cleans expired cache files

v1.0.2(4y ago)1610[2 PRs](https://github.com/imanghafoori1/laravel-file-cache-cleaner/pulls)MITPHPPHP 7.\*|8.\*

Since Feb 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/imanghafoori1/laravel-file-cache-cleaner)[ Packagist](https://packagist.org/packages/imanghafoori/laravel-file-cache-cleaner)[ Docs](https://github.com/imanghafoori1/laravel-file-cache-cleaner)[ GitHub Sponsors](https://github.com/:vendor_name)[ RSS](/packages/imanghafoori-laravel-file-cache-cleaner/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (9)Used By (0)

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

[](#laravel-file-cache-cleaner)

[![Total Downloads](https://camo.githubusercontent.com/8f78802f152dc4fb0004870bbe84eede6cbe6060cb5f79fe5e703be4d9ceb640/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d616e676861666f6f72692f6c61726176656c2d66696c652d63616368652d636c65616e65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imanghafoori/laravel-file-cache-cleaner)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

This is a command which lets you delete the expired cached data on the file system and free up the disk space.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require imanghafoori/laravel-file-cache-cleaner
```

Usage
-----

[](#usage)

```
// default store:
php artisan cache:clean_files

// or custom store:
php artisan cache:clean_files my_store
```

[![image](https://user-images.githubusercontent.com/6961695/152064458-7ee06ddb-cd3f-4a50-a853-342b4fd1ced4.png)](https://user-images.githubusercontent.com/6961695/152064458-7ee06ddb-cd3f-4a50-a853-342b4fd1ced4.png)

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Iman Ghafoori](https://github.com/imanghafoori1)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~0 days

Total

6

Last Release

1560d ago

Major Versions

v0.0.6 → v1.0.12022-02-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6961695?v=4)[Iman](/maintainers/imanghafoori1)[@imanghafoori1](https://github.com/imanghafoori1)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")[![imanghafoori1](https://avatars.githubusercontent.com/u/6961695?v=4)](https://github.com/imanghafoori1 "imanghafoori1 (12 commits)")[![amirsadeghi1](https://avatars.githubusercontent.com/u/26359326?v=4)](https://github.com/amirsadeghi1 "amirsadeghi1 (1 commits)")

---

Tags

laravel

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[imanghafoori/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your Laravel apps.

909137.9k12](/packages/imanghafoori-laravel-widgetize)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202541.1k6](/packages/swayok-alternative-laravel-cache)[alexmg86/laravel-sub-query

Laravel subquery

7538.4k](/packages/alexmg86-laravel-sub-query)[arifhp86/laravel-clear-expired-cache-file

Remove laravel expired cache file/folder

36128.7k](/packages/arifhp86-laravel-clear-expired-cache-file)[byerikas/cache-tags

Allows for Redis/Valkey cache flushing multiple tagged items by a single tag.

1413.9k](/packages/byerikas-cache-tags)[salehhashemi/laravel-configurable-cache

Configurable Laravel cache manager

2114.5k1](/packages/salehhashemi-laravel-configurable-cache)

PHPackages © 2026

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