Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 705 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 705 Bytes

php-telegram-bot


Installation

  • Create new repository from this template and/or clone repository local pc.
  • Create config.php from config.example.php file to project root path.
  • Change credential information on config.php (database information, bot token, bot username, bot webhook url)
  • Install packages via composer
composer install
  • Execute index.php file for checking and setting webhook.
php index.php

If there is no error, then there is no problem.

  • Go to the Telegram bot and send the /start command
  • Wow, you receive new message from our special (and super xD) telegram bot.

Any question: