tumichnix / laravel-telegram-logger
A Laravel package for logging via telegram bot
Installs: 1 500
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=7.4
- guzzlehttp/guzzle: ^6.5 || ^7.0
- illuminate/http: ^7.0 || ^8.0
Requires (Dev)
- orchestra/testbench: ^5.0 || ^6.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2021-11-09 11:40:52 UTC
README
Installation
composer require tumichnix/laravel-telegram-logger
Usage
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'), ],
Testing
composer test
Security
If you discover any security related issues, please email tumichnix@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.