- What can I use BotMan for?
- Which Messenger drivers are supported?
- Can I create my own driver?
- Can I use NLP platforms like Wit.ai or Api.ai?
- Does it work without Laravel?
- Which PHP version do I need?
- Can I add a Facebook persistent menu?
- How does BotMan saves the state of a conversation?
BotMan is a framework agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, known as chatbots today. You can use it to build simple command-bots as well as advanced conversational interfaces.
Right now these messengers are included: Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger and WeChat.
Yes you can. Build your own driver to connect BotMan with other messengers or to use it as an API.
Both platforms are available through given middlewares. They help you to understand the user's message and provide information about their intent. You can of course create your own middleware.
As already mentioned BotMan is a framework agnostic PHP library. So yes, it works without Laravel too. If you do want use Laravel, checkout the BotMan Laravel Starter project.
BotMan requires PHP >=5.6.
Yes you can, but not with BotMan ;-) Adding a persistent Facebook menu is just one HTTP request to the Facebook API. No need to implement it here.
BotMan provides a Conversation object that is used to string together several messages, including questions for the user, into a cohesive unit. In order to always know the current state of the conversation, the object gets saved through the cache.
If not specified otherwise, BotMan will use array cache which is non-persistent. When using the Laravel facade it will automatically use the Laravel Cache component. Symfony and Codeigniter caches are also supported.