Download the PHP package okipa/laravel-stuck-jobs-notifier without Composer
On this page you can find all versions of the php package okipa/laravel-stuck-jobs-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-stuck-jobs-notifier
Get notified and execute PHP callback when you have stuck jobs for a defined number of hours.
Notifications can be sent by mail, Slack and webhooks (chats often provide a webhook API).
Found this package helpful? Please consider supporting my work!
Compatibility
Laravel version | PHP version | Package version |
---|---|---|
^9.0 | ^10.0 | 8.1. | 8.2. | ^2.4 |
^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 |
^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 |
^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 |
^7.0 | ^8.0 | ^7.4 | ^2.0 |
^6.0 | ^7.0 | ^7.4 | ^1.0 |
Upgrade guide
- From v1 to V2
- From okipa/failed-jobs-notifier
Table of Contents
- Installation
- Configuration
- Translations
- Usage
- Testing
- Changelog
- Contributing
- Credits
- Licence
Installation
Install the package with composer:
If you intend to send Slack
notifications you will have to install:
If you intend to send webhook
notifications you will have to install:
Configuration
Publish the package configuration:
Translations
All words and sentences used in this package are translatable.
See how to translate them on the Laravel official documentation: https://laravel.com/docs/localization#using-translation-strings-as-keys.
Here is the list of the words and sentences available for translation by default:
Usage
Just add this command in the schedule()
method of your \App\Console\Kernel
class:
And you will be notified as soon as some jobs will be stuck in the failed_jobs
table for the number of days you configured.
Once everything has been set up, you can check if the configuration is correct by simulating stuck jobs detection:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Arthur LORENT
- All Contributors
License
The MIT License (MIT). Please see License File for more information.