primipilus / yii2-telegram-target
Yii 2.0 telegram log
Installs: 11 409
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.1.0
- guzzlehttp/guzzle: ^6.3
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2025-03-15 00:53:01 UTC
README
Installation
run
composer require primipilus/yii2-telegram-target:^1.0
or add
"primipilus/yii2-telegram-target": "^1.0"
How To Use
'log' => [
'targets' => [
[
'class' => \primipilus\log\TelegramTarget::class,
'levels' => ['error'],
'timeout' => 0.4,
'token' => '123456:abc',
'chatId' => '123456',
'prefixMessage' => 'prefixMessage',
'proxy' => 'protocol://login:password@host:port',
],
],
],