Download the PHP package thanhtaivtt/laravel-telegram-logger without Composer
On this page you can find all versions of the php package thanhtaivtt/laravel-telegram-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thanhtaivtt/laravel-telegram-logger
More information about thanhtaivtt/laravel-telegram-logger
Files in thanhtaivtt/laravel-telegram-logger
Download thanhtaivtt/laravel-telegram-logger
More information about thanhtaivtt/laravel-telegram-logger
Files in thanhtaivtt/laravel-telegram-logger
Vendor thanhtaivtt
Package laravel-telegram-logger
Short Description Laravel Send error log to Telegram Bot, Channel
License MIT
Package laravel-telegram-logger
Short Description Laravel Send error log to Telegram Bot, Channel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-telegram-logger
laravel-telegram-logger
Send Laravel log to Telegram Bot or Channel
Install
Config
-
Add this code to the
config/logging.php
as a new channel: - And add
telegram
channel to current stack channel:
Eg:
- Define Telegram Bot Token and chat id on
.env
Description
Key | Type | Description |
---|---|---|
TELEGRAM_API_KEY |
String |
Token of Telegram Bot or Channel |
TELEGRAM_CHAT_ID |
String |
Bot or Channel ID (Include the @ character) |
TELEGRAM_SEND_LOG |
Boolean |
Specify whether to send the log or not |
If you want to send the log in all other than local environments, you can set it as follows:
How to create Telegram Bot?
All versions of laravel-telegram-logger with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0|^8.1
ext-json Version *
ext-curl Version *
laravel/framework Version >5.7.
ext-json Version *
ext-curl Version *
laravel/framework Version >5.7.
The package thanhtaivtt/laravel-telegram-logger contains the following files
Loading the files please wait ....