While BotMan itself is framework agnostic, BotMan is also available as a bundle with the great Laravel PHP framework. This bundled version is called BotMan Studio and makes your chatbot development experience even better. By providing testing tools, an out of the box web driver implementation and additional tools like an enhanced CLI with driver installation, class generation and configuration support, it speeds up the development significantly.
You can find the BotMan and BotMan Studio documentation at http://botman.io.
BotMan is free software distributed under the terms of the MIT license.
https://www.universita.corsica/fr/hack4corsica-1er-hackathon-de-luniversite-de-corse, first for university of Corsica, first for me too.
Project: https://www.communiti.corsica want on a chatbot use with there API and basics question.
Why Botman ? Because was really cool, and practice to use.
Now let's get started !
- Install dependencies with
composer
# Root directory
composer install
- Run
php artisan serve
- a
All working code and bot logic can be found here :
/app/Http/Controllers/BotManController.php
- More powerfull
Response use DialogFlow, change this line on /vendor/botman/botman/src/Middleware/ApiAi.php line 113 Or override dialogflow middleware received
# And add this
$messages = isset($response->result->fulfillment->messages) ? (array) $response->result->fulfillment->messages : [];
Can be use with
php artisan migrate --seed
https://dialogflow.com/, you have to create on account and configure all (intent, entities, training, etc...)
You can find my work on it here, folder /public/bot
- Web integration
- Messenger integration
- Use communiti API
- Dialogflow
- Image
- Video
- Button
- Conversation (skip, stop)
- Get url link
- Reply with attachments
- Received attachments (bug)
- Ovverride middleware
- Middleware system
- Other integration (slack, telegram, nexmo)
- Store user information
- More dialogflow training
- Optimisation