Download the PHP package kfoobar/flush-horizon without Composer
On this page you can find all versions of the php package kfoobar/flush-horizon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kfoobar/flush-horizon
More information about kfoobar/flush-horizon
Files in kfoobar/flush-horizon
Package flush-horizon
Short Description A Laravel package designed to efficiently manage and clear failed jobs from Horizon.
License MIT
Informations about the package flush-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
- Laravel version 8.0 or newer
- Laravel Horizon
- Redis as the caching and session driver
Installing the Package
To incorporate the package into your project, execute the following command through Composer:
Getting Started
Flushing Failed Jobs
To clear all failed jobs from your queue, utilize the command below:
Resetting Horizon Data
For a complete data reset, including all jobs and records, run:
Contributing
Your contributions are highly appreciated! We welcome any form of contribution to improve and expand the functionality of this package.
License
The MIT License (MIT). Please see License File for more information.
All versions of flush-horizon with dependencies
illuminate/console Version >=8.0
illuminate/redis Version >=8.0
illuminate/support Version >=8.0