On the Laravel News site they have a new post introducing a handy library you can use to make your own Slackbot quickly and easily (and in a framework agnostic way).
It seems like everyone is using Slack, from company channels to community groups including one for Laravel.
Bots have been the new rage within the service and if you’d like to build your own Marcel Pociot created a framework agnostic PHP Slackbot library to make this easy.
Bots built with SlackBot can hear things, say things and reply to what they hear. This allows you to create conversational applications the way real human people talk to each other.
The post then walks you through some of the most common operations using the bot including:
- sending messages to a Slack instance
- working with "conversations"
- receiving simpler messages and acting on the contents
They also link to this more extended tutorial from the author of the library showing how to use the library with a simple Laravel application.