PHPackages                             vizrex/laravel-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. [File &amp; Storage](/categories/file-storage)
4. /
5. vizrex/laravel-cleaner

ActiveLaravel-package[File &amp; Storage](/categories/file-storage)

vizrex/laravel-cleaner
======================

This a utility package to clean-up temporary files of Laravel applications.

1.0.0(7y ago)45463proprietaryPHP

Since Jan 16Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Vizrex/laravel-cleaner)[ Packagist](https://packagist.org/packages/vizrex/laravel-cleaner)[ RSS](/packages/vizrex-laravel-cleaner/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

> # READ THIS FIRST
>
> [](#read-this-first)

> It is highly recommended for all contributors to update this file whenever there's a major update in source code. Use [this tool](https://stackedit.io/app#) for easy editing or [visit this page](https://help.github.com/articles/basic-writing-and-formatting-syntax/) for comprehensive guide on markdown syntax.

Introduction
============

[](#introduction)

This package consists of following three commands:

app:cleanup
-----------

[](#appcleanup)

This utility calls one or more of the following commands, depending on the given parameters:

- `auth:clear-resets`
- `cache:clear`
- `config:clear`
- `debugbar:clear`
- `route:clear`
- `view:clear`
- `session:clear`
- `log:clear`

It will call the commands if they are registered. All commands except last two are built in to Laravel or some other packages. Continue below to study about last two commands that are exposed by this package.

### Signature

[](#signature)

```
app:cleanup {--all} {--auth} {--cache} {--config} {--debugbar} {--route} {--view} {--session} {--log}
```

### Usage Examples

[](#usage-examples)

```
php artisan app:clean
php artisan app:clean --view --cache
php artisan app:clean --all
```

session:clear
-------------

[](#sessionclear)

This command is exposed by this package. It clears all the files from storage/framework/sessions folder.

### Signature

[](#signature-1)

```
session:clear

```

### log:clear

[](#logclear)

This command is also exposed by this package. It deletes all `laravel*.log` files from storage/logs folder.

### Signature

[](#signature-2)

```
log:clear

```

Usage Examples
--------------

[](#usage-examples-1)

- `php artisan env:switch dev`
- `php artisan env:switch prod --force`

To-dos
======

[](#to-dos)

Following are the approved items:

- `session:clear` command deletes all files from sessions folder. However if session driver is different than `file` than it won't work. It needs to work with other drivers as well, specially with `redis` driver.

Wishlist
========

[](#wishlist)

Add the suggestions in this wishlist. Only approved wishlist items can be moved to To-dos list:

- Item-1

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

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

Unknown

Total

1

Last Release

2673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ed679f8af1a3a1da9a187d1ce6520287263a4d1c575617708fc76cbcff3ba4?d=identicon)[vizrex](/maintainers/vizrex)

---

Top Contributors

[![zeshanfarooqi](https://avatars.githubusercontent.com/u/1576772?v=4)](https://github.com/zeshanfarooqi "zeshanfarooqi (6 commits)")

### Embed Badge

![Health badge](/badges/vizrex-laravel-cleaner/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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