makhnanov/php-telegram-html-debug

Easy Debug With Telegram Channel With HTML files

3.1.0 2025-05-15 04:33 UTC

This package is auto-updated.

Last update: 2025-05-15 04:34:19 UTC


README

This is library for Easy debug with symfony/var-dumper dd() / dump(), but in html in telegram bot message.

TL;DR;

composer require --dev makhnanov/php-telegram-html-debug
define('TD_BOT_TOKEN', 'YOUR_BOT_TOKEN');
define('TD_CHAT_ID', '-CHAT_ID');
define('TD_CHAT_THREAD_ID', '15');
td($exception, 'Error!');
# Or
telegram_debug($token, $chatId, $varDump, $caption, $messageThreadId);

LongRead

Step 1

WIP