/laravel-telegram-logger

Simple Laravel Telegram Logger

Primary LanguagePHPMIT LicenseMIT

Laravel Telegram Logger

Latest Version MIT License

GitHub Workflow Status StyleCI Total Downloads


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.