PHPackages                             kfoobar/flush-horizon - 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. kfoobar/flush-horizon

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

kfoobar/flush-horizon
=====================

A Laravel package designed to efficiently manage and clear failed jobs from Horizon.

v1.0.1(2y ago)424.6k↑13.1%MITPHPPHP &gt;=7.4

Since Dec 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/KFoobar/flush-horizon)[ Packagist](https://packagist.org/packages/kfoobar/flush-horizon)[ RSS](/packages/kfoobar-flush-horizon/feed)WikiDiscussions main Synced yesterday

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

Flush Redis for Laravel Horizon
===============================

[](#flush-redis-for-laravel-horizon)

This package enhances your ability to efficiently manage the list of failed jobs within Laravel Horizon. It introduces two new console commands to your Laravel application, enabling you to manually flush all failed jobs stored in Redis, as well as flush all keys generated by Horizon in Redis.

While Laravel Horizon automatically purges failed jobs after 7 days by default, this package provides you with the flexibility to perform the flush operation manually through console commands whenever necessary.

Requirements
------------

[](#requirements)

- Laravel version 8.0 or newer
- Laravel Horizon
- Redis as the caching and session driver

Installing the Package
----------------------

[](#installing-the-package)

To incorporate the package into your project, execute the following command through Composer:

```
composer require kfoobar/flush-horizon

```

Getting Started
---------------

[](#getting-started)

### Flushing Failed Jobs

[](#flushing-failed-jobs)

To clear all failed jobs from your queue, utilize the command below:

```
php artisan horizon:flush

```

### Resetting Horizon Data

[](#resetting-horizon-data)

For a complete data reset, including all jobs and records, run:

```
php artisan horizon:reset

```

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

[](#contributing)

Your contributions are highly appreciated! We welcome any form of contribution to improve and expand the functionality of this package.

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

2

Last Release

883d ago

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v1.0.1PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/420690?v=4)[David Villa](/maintainers/KFoobar)[@KFoobar](https://github.com/KFoobar)

---

Top Contributors

[![KFoobar](https://avatars.githubusercontent.com/u/420690?v=4)](https://github.com/KFoobar "KFoobar (3 commits)")

### Embed Badge

![Health badge](/badges/kfoobar-flush-horizon/health.svg)

```
[![Health](https://phpackages.com/badges/kfoobar-flush-horizon/health.svg)](https://phpackages.com/packages/kfoobar-flush-horizon)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M129](/packages/laravel-pulse)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M188](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M145](/packages/laravel-mcp)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725172.4k14](/packages/tallstackui-tallstackui)

PHPackages © 2026

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