Download the PHP package etsvthor/telegram-failed-job-monitor without Composer
On this page you can find all versions of the php package etsvthor/telegram-failed-job-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download etsvthor/telegram-failed-job-monitor
More information about etsvthor/telegram-failed-job-monitor
Files in etsvthor/telegram-failed-job-monitor
Package telegram-failed-job-monitor
Short Description Failed job monitor which sends Telegram notifications on job failure
License MIT
Homepage https://github.com/etsvthor/telegram-failed-job-monitor
Informations about the package telegram-failed-job-monitor
Failed job monitor with Telegram notifications and rate-limiter
Extension to spatie/laravel-failed-job-monitor to add support for Telegram notifications and add a rate-limiter to not get spammed in case certain jobs run regularly.
See laravel-notification-channels/telegram for more information.
Installation
You can install the package via composer:
You must publish the config file:
This is the contents of the published config file. This overwrites the config of spatie/laravel-failed-job-monitor. By default, the notificationFilter
is used to create the rate-limit:
Telegram bot
Talk to @BotFather and generate a Bot API Token.
Then add your newly created bot to the Telegram chat where you want notifications to be send.
Get your chat_id
by running curl https://api.telegram.org/bot<your_token>/getUpdates
and retrieving the chat_id
from the output.
Then, configure your Telegram Bot API Token:
License
The MIT License (MIT). Please see License File for more information.
All versions of telegram-failed-job-monitor with dependencies
spatie/laravel-failed-job-monitor Version ^4.2
laravel-notification-channels/telegram Version ^3.0 | ^4.0 | ^5.0