PHPackages                             nechaienko/laravel-telegram-logging - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. nechaienko/laravel-telegram-logging

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

nechaienko/laravel-telegram-logging
===================================

Logging to Telegram using Laravel logging

1.0.11(6y ago)2214[1 PRs](https://github.com/nechaienko/laravel-telegram-logging/pulls)PHPPHP &gt;=7.1

Since Jan 25Pushed 6y agoCompare

[ Source](https://github.com/nechaienko/laravel-telegram-logging)[ Packagist](https://packagist.org/packages/nechaienko/laravel-telegram-logging)[ RSS](/packages/nechaienko-laravel-telegram-logging/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (10)Used By (0)

About Laravel-telegram-logging
------------------------------

[](#about-laravel-telegram-logging)

This package gives opportunity **logging to telegram** with custom ***[Laravel logging](https://laravel.com/docs/5.7/logging)***

Installation
------------

[](#installation)

```
composer require nechaienko/laravel-telegram-logging

```

Configuration
-------------

[](#configuration)

Add configurations to file `..\your_project\config\logging.php`

```
'telegram' => [
            'driver' => 'custom',
            'via' => \Nechaienko\TelegramLogging\LogToTelegram::class,
            'level' => 'info'
        ],

```

Add **Telegram Bot Token** to file `..\your_project\.env`

```
TELEGRAM_BOT_TOKEN=****

```

Create file **telegram.php** in config folder `..\your_project\config\telegram.php'`

```
