PHP code example of tankertrackers / laravel-telegram-bot-logger
1. Go to this page and download the library: Download tankertrackers/laravel-telegram-bot-logger library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tankertrackers / laravel-telegram-bot-logger example snippets
'telegram' => [
'driver' => 'custom',
'via' => \TankerTrackers\LaravelTelegramBotLogger\TelegramBotLogger::class,
'token' => env('TELEGRAM_BOT_TOKEN'),
'channel' => env('TELEGRAM_CHANNEL'),
'level' => env('APP_ENV') === 'production' ? \Monolog\Level:Info : \Monolog\Level::Debug,
],
'stack' => [
'driver' => 'stack',
'channels' => ['single', 'telegram'],
],
⚡️ WARNING - 2022-08-22 00:06:20 - 1.1.9
User failed password check.
{"user":718}