exileed / rocketchat-monolog
RocketChat Monolog Handler
Installs: 3 363
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 1
Requires
- php: ~7.3 || 8.0
- guzzlehttp/guzzle: ^6 || ^7
- monolog/monolog: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9.3
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-10-18 18:32:20 UTC
README
Install
Via Composer
$ composer require exileed/rocketchat-monolog
Usage
Base usage
$webhook = 'https://rocket.chat.local/hooks/bd97pizfGu3S5q5oT/ggdfhryhge'; $channelId = '12345'; $rocketChatHandler = new RocketChatHandler\RocketChatHandler([$webhook], $channelId); $monolog = new Monolog\Logger('Rocket.Chat'); $monolog->pushHandler($rocketChatHandler);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Security
If you discover any security related issues, please email me@exileed.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
TODO
- Async request