PHPackages                             ozdemir/clear-logs-command - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ozdemir/clear-logs-command

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ozdemir/clear-logs-command
==========================

1.0.2(2y ago)143MITPHP

Since Dec 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/n1crack/clear-logs-command)[ Packagist](https://packagist.org/packages/ozdemir/clear-logs-command)[ RSS](/packages/ozdemir-clear-logs-command/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Clear Logs Command for Laravel
==============================

[](#clear-logs-command-for-laravel)

A Laravel Artisan command to clear application logs with additional options. The logs cleared by this command are located in the logs directory within the Laravel storage folder. It is a standard practice in Laravel to store logs in this location.

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

[](#installation)

Install the package via Composer:

```
composer require ozdemir/clear-logs-command
```

The package will be automatically registered by Laravel.

Usage
-----

[](#usage)

#### Clear Logs

[](#clear-logs)

To clear all logs in the default logs directory, run the following command:

```
php artisan logs:clear
```

Options
-------

[](#options)

**--dry-run:** Simulate the command without clearing any files.

```
php artisan logs:clear --dry-run
```

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

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

[](#contributing)

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Changelog
---------

[](#changelog)

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

Credits
-------

[](#credits)

- [Yusuf Özdemir](https://github.com/n1crack)

License
-------

[](#license-1)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

3

Last Release

884d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0124f2d35be25c3386c1b0614c41112c20313f7b4acc46a502b475d5f6308403?d=identicon)[n1crack](/maintainers/n1crack)

---

Top Contributors

[![n1crack](https://avatars.githubusercontent.com/u/712404?v=4)](https://github.com/n1crack "n1crack (7 commits)")

### Embed Badge

![Health badge](/badges/ozdemir-clear-logs-command/health.svg)

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

PHPackages © 2026

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