composer require tumichnix/laravel-telegram-logger
Add to config/logging.php
file new channel:
'telegram' => [
'driver' => 'custom',
'via' => \Tumichnix\TelegramLogger\Factory::class,
'level' => 'debug',
'token' => env('LOGGING_TELEGRAM_TOKEN'),
'chat_id'=> env('LOGGING_TELEGRAM_CHAT_ID'),
],
composer test
If you discover any security related issues, please email tumichnix@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.