PHPackages                             dainsys/clear-laravel-logs - 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. dainsys/clear-laravel-logs

ActiveLibrary

dainsys/clear-laravel-logs
==========================

Clear Laravel log files

2.3.0(5y ago)0458MITPHPPHP &gt;=7.0

Since Apr 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Yismen/clear-laravel-logs)[ Packagist](https://packagist.org/packages/dainsys/clear-laravel-logs)[ RSS](/packages/dainsys-clear-laravel-logs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (16)Used By (0)

Dainsys Clear Logs Command
==========================

[](#dainsys-clear-logs-command)

Allows to list or delete all laravel...log logs files

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

[](#installation)

- Step 1: Add the following entry to your composer.json file: ```
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/Yismen/clear-laravel-logs.git"
        }
    ]
    ```
- Step 2: Run `composer require dainsys/clear-laravel-logs` command to install as a dependency
- Step 3: The Package should be auto-discovered by Laravel. However, you could all register it in your config.app file within the providers array: ```
        'providers' => [
            Dainsys\ClearLogs\ClearLogsServiceProvider::class,
        ]
    ```

Ussage
------

[](#ussage)

- To just list the log files, run without any argument:
    - `php artisan dainsys:laravel-logs`
- To remove all existing log files, pass the --clear flag
    - `php artisan dainsys:laravel-logs --clear`
- By default, the last 8 files are keept. To override the number of files to preserve, update the --keep flag
    - `php artisan dainsys:laravel-logs --clear --keep=0`
- By default, the package search for any file starting with 'laravel-'. To override, pass the desired starting file name as an option
    - `php artisan dainsys:laravel-logs new_file_name --clear `

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~42 days

Total

14

Last Release

2015d ago

Major Versions

v1.4 → v2.02020-04-07

### Community

Maintainers

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

---

Top Contributors

[![Yismen](https://avatars.githubusercontent.com/u/4872942?v=4)](https://github.com/Yismen "Yismen (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dainsys-clear-laravel-logs/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M601](/packages/laravel-ui)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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