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.
Adopt When:
Look Elsewhere If:
stack channels or custom Monolog handlers).For Executives: "This package lets us send Laravel application logs directly to Telegram channels—free, real-time, and zero setup. Ideal for quick alerts (e.g., ‘Deployment failed’) or debugging without paying for third-party tools. Perfect for lean teams or MVP phases where simplicity trumps analytics. Risk? Minimal: it’s a lightweight wrapper for Telegram’s API, with no vendor lock-in."
For Engineering:
"A 10-minute Monolog channel to replace error_log() or Log::debug(). Plugs into Laravel’s existing logging, supports log levels, and formats messages cleanly. No external dependencies—just your Telegram bot token. Tradeoff: no retention or search, but great for dev feedback loops or ops visibility. Docs are sparse (1-star repo), but the code is straightforward PHP. Suggest pairing with a backup channel (e.g., file) for critical logs."
How can I help you explore Laravel packages today?