PHPackages                             uipps/laravel-log-clear - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. uipps/laravel-log-clear

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

uipps/laravel-log-clear
=======================

A laravel artisan log clear

v1.0.3(4y ago)014MITPHPPHP ^5.1|^7.0|^8.0

Since Mar 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/uipps/laravel-log-clear)[ Packagist](https://packagist.org/packages/uipps/laravel-log-clear)[ Docs](https://uipps.github.io/)[ RSS](/packages/uipps-laravel-log-clear/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (6)DependenciesVersions (8)Used By (0)

log clear for laravel artisan
=============================

[](#log-clear-for-laravel-artisan)

A laravel artisan log clear.

How does it work?
-----------------

[](#how-does-it-work)

This package expects that you are using Laravel 5.1 or above. You will need to import the `uipps/laravel-log-clear` package via composer:

### Configuration

[](#configuration)

```
composer require uipps/laravel-log-clear
```

You can also pass options directly.

- `--keepfiles=2`
- `--dry-run`

### Usage

[](#usage)

Assuming you have already configured your database, you are now all set to go.

- Let's scaffold some of your models from your default connection.

```
// delete all log files
php artisan log:clear

// full params
php artisan log:clear -k 2 -d

// Get info about the command and options
php artisan log:clear --help

// Pass the number of files to keep when deleting old log files. Overrides the config setting.
// This overrides the default set in config
php artisan log:clear --keepfiles=8

// Run without actually deleting any files
php artisan log:clear --dry-run

//
php artisan log:clear --dry-run --keepfiles=8
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

7

Last Release

1502d ago

Major Versions

v0.3.0 → v1.0.02022-03-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6465b78310485617015995e8b71a85fcfdc3d6754434896f7cfb3360b9f3377?d=identicon)[uipps](/maintainers/uipps)

---

Top Contributors

[![uipps](https://avatars.githubusercontent.com/u/26664684?v=4)](https://github.com/uipps "uipps (11 commits)")

---

Tags

loglaravelclear

### Embed Badge

![Health badge](/badges/uipps-laravel-log-clear/health.svg)

```
[![Health](https://phpackages.com/badges/uipps-laravel-log-clear/health.svg)](https://phpackages.com/packages/uipps-laravel-log-clear)
```

###  Alternatives

[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[moesif/moesif-laravel

Moesif Collection/Data Ingestion Middleware for Laravel

1065.8k](/packages/moesif-moesif-laravel)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)

PHPackages © 2026

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