PHP code example of ilyaserdyuk / telegram-writer
1. Go to this page and download the library: Download ilyaserdyuk/telegram-writer 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/ */
ilyaserdyuk / telegram-writer example snippets
ini
resources.log.telegram.formatterName = "Simple"
resources.log.telegram.formatterParams.format = '%timestamp% %priorityName% in [%file%:%line%] #%errno% %message%' PHP_EOL'%context%' PHP_EOL PHP_EOL