arhx/telegram-log-channel
Laravel log channel that sends Monolog messages to a Telegram chat via bot token and chat ID. Configure via .env or logging.php, add to your logging stack, and it safely falls back to a NullHandler when unset. Includes optional queued job failure alerts.
config() instead of env() directly, ensuring compatibility with php artisan config:cache.mergeConfigFrom in register() so default values work without publishing.publishes() so users can publish config/telegram-log-channel.php for production use with config cache.Queue::failing listener).TELEGRAM_LOG_QUEUE_FAILURES env variable (defaults to true).TelegramHandler to verify recursion protection and error handling.autoload-dev to composer.json for test support.TelegramHandler.try-catch block in TelegramHandler::write to handle exceptions during log sending.logSelfError to log internal errors to the single channel or system log without recursion.How can I help you explore Laravel packages today?