ziya/telegram_proxy

There is no license information available for the latest version (0.5) of this package.

Package for proxying telegram bot without any webhook

0.5 2021-09-23 20:55 UTC

This package is auto-updated.

Last update: 2025-04-24 04:56:27 UTC


README

You can run and test your telegram bot without webhook and using XDebug

composer require ziya/telegram_proxy "^0.3"

Examples

<?php
    require __DIR__ . '/vendor/autoload.php';

    $bot_api_key = '<bot token>';
    $url = '<url: ip address, domain name or your localhost>';
    $proxy = new \ziya\Proxy\ProxyLoop($bot_api_key, $url);
    $proxy->loop();