Skip to content
/ php-telegram-bot Public template

This repository is used to create own and special bots in Telegram

License

Notifications You must be signed in to change notification settings

mrmuminov/php-telegram-bot

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: