Skip to content

ZiyaVakhobov/telegram_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple PHP based Telegram Proxy for Development and Testing

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();

About

Simple Telegram Proxy for testing bots without webhooks

Resources

Stars

4 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages