Helg18 / TuriBot

TuriBot is a simple way to communicate with Telegram APIs in PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TuriBot

TuriBot is a simple way to communicate with Telegram APIs in PHP

Latest Stable Version Total Downloads License

Requirements

PHP 7.1 or higher with curl extension

Installation

composer require davtur19/turibot

Usage

  • Look at the examples (webhook.php and getUpdates.php), it's very simple if you know PHP and OOP
  • All methods have the parameters in the same order as the BotAPIs
  • The reply_markup and permissions parameters already have a json_encode in the functions, you just need to pass arrays

Security

https://github.com/php-telegram-bot/core/wiki/Securing-&-Hardening-your-Telegram-Bot

Contributors

Old version

I don't recommend its use, but it could be useful for those unfamiliar with OOP and would like to start learning how PHP and Telegram Bot Api work.

https://github.com/davtur19/TuriBot/tree/old

About

TuriBot is a simple way to communicate with Telegram APIs in PHP

License:GNU Affero General Public License v3.0


Languages

Language:PHP 100.0%