revolution / laravel-logger-chatwork
This package is abandoned and no longer maintained.
No replacement package was suggested.
ChatWork channel for Laravel Log
1.2.0
2021-05-25 14:22 UTC
Requires
- php: ^7.2||^8.0
- guzzlehttp/guzzle: ^6.3||^7.0
- illuminate/support: *
- monolog/monolog: ^1.23||^2
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Demo project
https://github.com/kawax/laravel-logger-project
Requirements
- Laravel >= 6.0
- PHP >= 7.2
Installation
Composer
composer require revolution/laravel-logger-chatwork
config/logging.php
'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['single', 'chatwork'], ], 'chatwork' => [ 'driver' => 'custom', 'via' => Revolution\Laravel\Logger\ChatWork\ChatWorkLogger::class, 'token' => env('CHATWORK_TOKEN'), 'room' => env('CHATWORK_ROOM'), 'level' => 'emergency', ], ]
.env
CHATWORK_TOKEN=
CHATWORK_ROOM=
LICENSE
MIT