mohamadmurad / telegram-tool-kit
send laravel log to telegram
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mohamadmurad/telegram-tool-kit
Requires
- php: >=8.0
- irazasyed/telegram-bot-sdk: ^3.13
- monolog/monolog: ^2.5|^3.3
Requires (Dev)
- orchestra/testbench: ^8.0
README
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" ] } }