PHP code example of yemeni-open-source / laravel-telegram-log

1. Go to this page and download the library: Download yemeni-open-source/laravel-telegram-log 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/ */

    

yemeni-open-source / laravel-telegram-log example snippets

 artisan vendor:publish --provider="YemeniOpenSource\TelegramLog\TelegramLogServiceProvider" --tag=config

'channels' => [
    // ...
    'telegram' => [
        'driver' => 'custom',
        'via' => YemeniOpenSource\TelegramLog\Services\TelegramService::class,
        'level' => 'debug',
    ],
    // ...
],
config/telegramlog.php
config/logging.php