PHP code example of prog-time / tg-logger

1. Go to this page and download the library: Download prog-time/tg-logger 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/ */

    

prog-time / tg-logger example snippets


TG_LOGGER_TOKEN="token_bot"
TG_LOGGER_CHAT_ID="id_group"

php artisan vendor:publish --tag=config

TgLogger::sendLog('Your message', 'level');
bash
php artisan tglogger:create-topics
angular2html
LOG_CHANNEL=telegram