mvd81 / laravel-horizon-tag-search-in-pending-and-completed-jobs
Append tags search for pending and completed jobs in Laravel Horizon.
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: ^8.0
- laravel/horizon: ^5.22
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^7.0|^8.0|^9.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.0|^10.4
- predis/predis: ^1.1|^2.0
Suggests
- ext-redis: Required to use the Redis PHP driver.
- predis/predis: Required when not using the Redis PHP driver (^1.1|^2.0).
README
Introduction
This package allows searching for jobs in pending and completed states based on tags, similar to how it works for failed jobs. Hopefully, this is a temporary package until this PR laravel/horizon#1513 is merged.
Screencast
ScreenCastLaravelHorizonTagSearchInPendingAndCompletedJobs.mp4
Installation
composer require mvd81/laravel-horizon-tag-search-in-pending-and-completed-jobs
If you have not yet installed Horizon, run php artisan horizon:install
What this package does
- Overrides the frontend to enable searching through pending and completed jobs.
- Creates listeners for the JobPushed and JobDeleted events to add and remove jobs in pending tags.
- Overrides the pending and completed job controllers to allow searching within pending and completed jobs.
License
Laravel Horizon tag search in pending and completed jobs is open-sourced software licensed under the MIT license.