PHP code example of revolution / laravel-logger-chatwork
1. Go to this page and download the library: Download revolution/laravel-logger-chatwork library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
revolution / laravel-logger-chatwork example snippets
'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',
],
]