mohamadmurad/telegram-tool-kit

send laravel log to telegram

Downloads

4

Stars

0

Version

v1.0.0

Telegram Logger

install via composer

composer require mohamadmurad/telegram-tool-kit

publish the config

php artisan vendor:publish --provider="TelegramKit\TelegramKitServiceProvider"

add this channel to logging.php config file

   'telegram' => [
            'driver' => 'custom',
            'via' => \TelegramKit\TelegramLogger::class,
            'level' => 'debug',
        ],

if you want to send notification every composer load add this script to your composer.json

{
  "scripts": {
    "post-autoload-dump": [
      "@php artisan TelegramKit:sendTelegramAutoLoadNotification"
    ]
  }
}
mohamadmurad

Author

mohamadmurad