tumichnix/laravel-telegram-logger

This package is abandoned and no longer maintained. No replacement package was suggested.

A Laravel package for logging via telegram bot

v1.1.0 2020-09-09 08:29 UTC

This package is auto-updated.

Last update: 2021-11-09 11:40:52 UTC


README

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.