PHPackages                             xitox97/artisan-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. [CLI &amp; Console](/categories/cli)
4. /
5. xitox97/artisan-clear

ActiveLibrary[CLI &amp; Console](/categories/cli)

xitox97/artisan-clear
=====================

Package that extends Laravel's artisan command

v1.0(5y ago)04MITPHPPHP ^7.4

Since Jul 29Pushed 5y agoCompare

[ Source](https://github.com/xitox97/artisan-clear)[ Packagist](https://packagist.org/packages/xitox97/artisan-clear)[ Docs](https://github.com/spatie/artisan-clear)[ RSS](/packages/xitox97-artisan-clear/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/46e45552932fb79db25caca55e482a0e5e1f388d1b7633e417b06b391aee5081/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7869746f7839372f6172746973616e2d636c6561722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xitox97/artisan-clear)[![Total Downloads](https://camo.githubusercontent.com/8d23b140248d838e7d9c0e078288066ab1e4d0322fd2c4fcb96286c25bbe5bb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7869746f7839372f6172746973616e2d636c6561722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xitox97/artisan-clear)

Laravel Log Clear Artisan Command
=================================

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

This package extend laravel artisan command by adding new command to easily clear log files on demand.

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

[](#installation)

You can install the package via composer:

```
composer require xitox97/artisan-clear --dev
```

*Remove --dev if want to uses it in production*

Usage
-----

[](#usage)

```
php artisan log:clear
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Farhan Hadi](https://github.com/xitox97)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2110d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15958161?v=4)[Farhan Hadi](/maintainers/xitox97)[@xitox97](https://github.com/xitox97)

---

Top Contributors

[![xitox97](https://avatars.githubusercontent.com/u/15958161?v=4)](https://github.com/xitox97 "xitox97 (9 commits)")

---

Tags

laravelartisan-clear

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/xitox97-artisan-clear/health.svg)

```
[![Health](https://phpackages.com/badges/xitox97-artisan-clear/health.svg)](https://phpackages.com/packages/xitox97-artisan-clear)
```

PHPackages © 2026

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