ThisisapurephpTelegramBot,fullyextensibleviaplugins.Telegramrecentlyannouncedofficialsupportfora[BotAPI](https://telegram.org/blog/bot-revolution) allowing integrators of all sorts to bring automated interactions to the mobile platform. This Bot aims to provide a platform where one could simply write a plugin and have interactions in a matter of minutes.
Instructions
============
1.Message@botfatherhttps://telegram.me/botfather with the following text: `/newbot`
Installthispackagethrough[Composer](https://getcomposer.org/). Edit your project's `composer.json` file to require `longman/telegram-bot`.
Createcomposer.jsonfile:
```js
{
"name":"yourproject/yourproject",
"type":"project",
"require":{
"php":">=5.4.0",
"longman/telegram-bot":"*"
}
}
```
Andruncomposerupdate
**Or**runacommandinyourcommandline:
```
composerrequirelongman/telegram-bot
```
######bottoken
YouwillnoticethattheTelegramBotwantsavaluefor`API_KEY`.Thistokenmaybeobtainedviaatelegramclientforyourbot.See[this](https://core.telegram.org/bots#botfather) link if you are unsure of how to so this.