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.
- First install composer packages
composer install
- Create mysql database and import structure.sql.
- copy bot-example.php and paste to config folder and change name to bot.php.
- Change bot.php parametter for your bot info and database config.
- You need set telegram webhook. For this action call yoursite.com/set-webhook url.
- Enjoy bot creation and usage.