PHP code example of tumichnix / laravel-telegram-logger
1. Go to this page and download the library: Download tumichnix/laravel-telegram-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/ */
tumichnix / laravel-telegram-logger example snippets
'telegram' => [
'driver' => 'custom',
'via' => \Tumichnix\TelegramLogger\Factory::class,
'level' => 'debug',
'token' => env('LOGGING_TELEGRAM_TOKEN'),
'chat_id'=> env('LOGGING_TELEGRAM_CHAT_ID'),
],