PHP code example of haokaiyang / laravel-feishu-logging

1. Go to this page and download the library: Download haokaiyang/laravel-feishu-logging 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/ */

    

haokaiyang / laravel-feishu-logging example snippets


'feishu' => [
    'driver' => 'custom',
    'via'    => Logger\FeishuLogger::class,
    'level'  => 'debug',
    'token'  => env('FEISHU_LOGGER_BOT_TOKEN', 'YOUR-CUSTOM-BOT-TOKEN'),
]

'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'feishu'],
]

LOG_CHANNEL=feishu

php artisan vendor:publish --provider "Logger\FeishuLoggerServiceProvider"