Skip to content

makhnanov/php-telegram-html-debug

Repository files navigation

What Is IT?

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

TL;DR;

composer require makhnanov/php-telegram-html-debug
composer require --dev makhnanov/php-telegram-html-debug
\TD::$token = getenv('DEBUG_BOT_TOKEN');
\TD::$chat_id = getenv('DEBUG_BOT_CHAT_ID');
\TD::$message_thread_id = getenv('DEBUG_BOT_MESSAGE_THREAD_ID');
td($exception, 'Error!');
# Or
telegram_debug($token, $chatId, $varDump, $caption, $messageThreadId);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published