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)418.6k↑40%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 1mo ago

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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

838d ago

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

v1.0.1PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae505c80b111fa602b53cd7ddc18f1d5e8a5427d30e3b74468ab5a48a59c0487?d=identicon)[KFoobar](/maintainers/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.7k12.1M99](/packages/laravel-pulse)[illuminate/queue

The Illuminate Queue package.

20331.4M1.2k](/packages/illuminate-queue)[prwnr/laravel-streamer

Events streaming package for Laravel that uses Redis 5 streams

110196.9k1](/packages/prwnr-laravel-streamer)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[saeedvaziry/laravel-async

Run asynchronous code in Laravel without waiting for results

15310.0k](/packages/saeedvaziry-laravel-async)[harris21/laravel-fuse

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

3786.5k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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