PHPackages                             poldixd/laravel-queue-clear-all - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. poldixd/laravel-queue-clear-all

ActiveLibrary[Queues &amp; Workers](/categories/queues)

poldixd/laravel-queue-clear-all
===============================

Development-only Artisan command to clear all Laravel Horizon queues.

0.1.2(2mo ago)0108MITPHP ^8.2

Since May 6Compare

[ Source](https://github.com/poldixd/laravel-queue-clear-all)[ Packagist](https://packagist.org/packages/poldixd/laravel-queue-clear-all)[ Docs](https://github.com/poldixd/laravel-queue-clear-all)[ RSS](/packages/poldixd-laravel-queue-clear-all/feed)WikiDiscussions Synced 3w ago

READMEChangelog (3)Dependencies (6)Versions (8)Used By (0)

Laravel Queue Clear All
=======================

[](#laravel-queue-clear-all)

Clear all queues configured in Laravel Horizon with a single Artisan command.

This package is intended for local development and non-production environments. Do not install or run it in production.

The package reads the queue names from `config('horizon.environments')`, removes duplicates, and runs Laravel's built-in `queue:clear` command for each queue.

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

[](#installation)

Install the package with Composer:

```
composer require --dev poldixd/laravel-queue-clear-all
```

Laravel package auto-discovery registers the service provider automatically.

Usage
-----

[](#usage)

Clear every queue configured in Horizon using your default queue connection:

```
php artisan queue:clear-all
```

By default, the command uses `config('queue.default')` as the queue connection.

You can also pass a connection explicitly:

```
php artisan queue:clear-all redis
```

For every unique queue name found in your Horizon configuration, the package calls:

```
php artisan queue:clear CONNECTION --queue=QUEUE
```

For example, if Horizon contains the queues `default`, `emails`, and `notifications`, this package clears each of them once.

Horizon Configuration
---------------------

[](#horizon-configuration)

The command supports Horizon queue definitions as strings or arrays:

```
'environments' => [
    'production' => [
        'supervisor-1' => [
            'connection' => 'redis',
            'queue' => ['default', 'emails'],
        ],
        'supervisor-2' => [
            'connection' => 'redis',
            'queue' => 'notifications',
        ],
    ],
],
```

Testing
-------

[](#testing)

Run the test suite with:

```
composer test
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance85

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

79d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06ee838e882815b78c994ebb11877afddc8955ec84886af6174e64e4f002d67b?d=identicon)[poldixd](/maintainers/poldixd)

---

Tags

laravelartisanqueuedevelopmenthorizondev-only

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/poldixd-laravel-queue-clear-all/health.svg)

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

###  Alternatives

[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

45955.7k](/packages/harris21-laravel-fuse)[pmatseykanets/artisan-beans

Easily manage your Beanstalkd job queues right from the Laravel artisan command

4282.3k](/packages/pmatseykanets-artisan-beans)

PHPackages © 2026

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