This repository is an example Laravel application to instantly start developing cross-platform messaging bots using BotMan.
- Create a new bot project using this boilerplate.
composer create-project mpociot/botman-laravel-starter my_new_bot
-
Install Laravel Valet and use
valet share
to retrieve a HTTPS URL that you can use in the messaging services for testing. The predefined route is/botman
. -
Edit your
.env
file and connect BotMan with your Messaging Services -
Modify your bot logic in
app/Controllers/BotManController.php
and/orroutes/botman.php
. -
Build awesome bots!
If you want to use the Slack RTM API, simply call
php artisan botman:listen
to let your bot connect to your Slack channel!
BotMan and this boilerplate is free software distributed under the terms of the MIT license.