2017 © Pedro Peláez
 

library telegram-bundle

PHP Telegram API Symfony Bundle

image

zored/telegram-bundle

PHP Telegram API Symfony Bundle

  • Monday, May 7, 2018
  • by zored
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PHP Telegram API Symfony Bundle

Latest Stable Version Build Status Coverage Status Code Quality Status AppVeyor Status, (*1)

Symfony 4 bundle for Telegram API., (*2)

Install

composer require zored/telegram-bundle

CLI usage

  • Install bundle globally. bash composer global require zored/telegram-bundle
  • Ensure that your PATH looks at composer bin root (see composer global --help for details).
  • Set-up environment variables: bash export TELEGRAM_PHONE='' TELEGRAM_API_ID='' TELEGRAM_API_HASH=''
  • Run:
    • Message to your contact: bash telegram tg:client:message 'Ivan' '**Hello there!**'
    • Start bot and react to /ping example commands: bash telegram tg:bot:listen

The Versions