Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 577 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 577 Bytes

Telegram bot php skeleton

This skeleton is for creating Telegram bots in the fastest time. An advanced routing system has been used for the paths. The database used is MySQL.

Install & Usage

  1. First install composer packages
composer install
  1. Create mysql database and import structure.sql.
  2. copy bot-example.php and paste to config folder and change name to bot.php.
  3. Change bot.php parametter for your bot info and database config.
  4. You need set telegram webhook. For this action call yoursite.com/set-webhook url.
  5. Enjoy bot creation and usage.