zored / telegram-bundle
PHP Telegram API Symfony Bundle
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/zored/telegram-bundle
Requires
- php: >=7.1
 - ocramius/proxy-manager: ^2.1
 - symfony/console: ^4.0
 - symfony/dependency-injection: ^4.0
 - symfony/dotenv: ^4.0
 - symfony/framework-bundle: ^4.0
 - symfony/http-kernel: ^4.0
 - zored/telegram: ^0.2.4.1
 
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.10
 - php-coveralls/php-coveralls: ^2.0
 - phpunit/phpunit: ^7.0
 - vlucas/phpdotenv: ^2.4
 
This package is not auto-updated.
Last update: 2025-11-03 12:09:10 UTC
README
Symfony 4 bundle for Telegram API.
Install
composer require zored/telegram-bundle
CLI usage
- Install bundle globally.
composer global require zored/telegram-bundle
 - Ensure that your 
PATHlooks at composer bin root (seecomposer global --helpfor details). - Set-up environment variables:
export TELEGRAM_PHONE='' TELEGRAM_API_ID='' TELEGRAM_API_HASH=''
 - Run:
- Message to your contact:
telegram tg:client:message 'Ivan' '**Hello there!**'
 - Start bot and react to 
/ping examplecommands:telegram tg:bot:listen
 
 - Message to your contact: