Download the PHP package nvnhan0810/laravel-telegram-logging without Composer
On this page you can find all versions of the php package nvnhan0810/laravel-telegram-logging. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nvnhan0810/laravel-telegram-logging
More information about nvnhan0810/laravel-telegram-logging
Files in nvnhan0810/laravel-telegram-logging
Download nvnhan0810/laravel-telegram-logging
More information about nvnhan0810/laravel-telegram-logging
Files in nvnhan0810/laravel-telegram-logging
Vendor nvnhan0810
Package laravel-telegram-logging
Short Description Laravel log channel — send warnings/errors to Telegram with optional queue and message templates.
License MIT
Homepage https://github.com/nvnhan0810/laravel-telegram-logging
Package laravel-telegram-logging
Short Description Laravel log channel — send warnings/errors to Telegram with optional queue and message templates.
License MIT
Homepage https://github.com/nvnhan0810/laravel-telegram-logging
Please rate this library. Is it a good library?
Informations about the package laravel-telegram-logging
laravel-telegram-logging
Laravel log channel that sends warning / error logs to Telegram.
Features
- Configurable minimum log level (
TELEGRAM_LOG_LEVEL) - Optional queue (
TELEGRAM_LOG_QUEUE=true) — does not block HTTP requests - Custom HTML message template with placeholders (
{%app_name%},{%config:app.url%}, …) - Dedupe identical messages within a time window
Install
Or path repository (monorepo / local dev):
Publish config (optional):
Logging setup
In config/logging.php:
In .env:
Test
Template placeholders
| Placeholder | Value |
|---|---|
{%emoji%} |
Level emoji |
{%level%} |
WARNING, ERROR, … |
{%level_lower%} |
warning, error, … |
{%message%} |
Log message (HTML escaped) |
{%context%} |
Context JSON (escaped) |
{%context_block%} |
<pre>…</pre> or empty |
{%app_name%} |
config('app.name') |
{%app_env%} |
config('app.env') |
{%channel%} |
Log channel name |
{%datetime%} |
ISO-8601 timestamp |
{%config:app.url%} |
Any config('…') value |
Override in config/telegram-logging.php → template.
Queue
When TELEGRAM_LOG_QUEUE=true, log records are dispatched to the default (or configured) queue. Run a worker:
License
MIT
All versions of laravel-telegram-logging with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/log Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
monolog/monolog Version ^3.0
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/log Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
monolog/monolog Version ^3.0
The package nvnhan0810/laravel-telegram-logging contains the following files
Loading the files please wait ...