makhnanov/php-telegram-html-debug

Easy Debug With Telegram Channel With HTML files

3.2.0 2025-06-22 04:13 UTC

This package is auto-updated.

Last update: 2025-06-22 04:17:24 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);