PHP Classes
elePHPant
Icontem

PHP Slack Bot: Robot to automate interactions with Slack users

Recommend this page to a friend!
  Info   View files Documentation   View files View files (161)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-04-26 (2 days ago) RSS 2.0 feedStarStarStar 56%Total: 185 This week: 22All time: 8,046 This week: 34Up
Version License PHP version Categories
slackbot 1.0.50MIT/X Consortium ...5PHP 5, Web services, Chat, Social Net...
Description Author

This package can implement robots to automate interactions with Slack users.

It can listen to messages sent by users that match certain keywords and invokes a given callback function, so the bot can process and eventually reply to the messages.

The package can also extract certain patterns of the incoming messages and pass them to the callback function.

It can also create interactive conversations by sending messages to users and handling the responses with a callback function.

Innovation Award
PHP Programming Innovation award nominee
November 2016
Number 10
Slack is an application that has grown a lot in popularity as a communication application for teams that collaborate in the same project.

It provides an API that allows developers to create robot applications that can interact with Slack users.

This package can listen to messages sent by users and process them to generate useful replies.

It can also create interactive conversations by sending messages to users and handling the responses.

Manuel Lemos
Name: Marcel Pociot <contact>
Classes: 1 package by
Country: Germany Germany
Age: ???
All time rank: 3902220 in Germany Germany
Week rank: 30 Up3 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

Details

BotMan ? Create messaging bots in PHP with ease

Latest Version on Packagist Build Status codecov Scrutinizer Code Quality [Packagist]() StyleCI Slack

About BotMan

BotMan is a framework agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, including Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger and WeChat.

$botman->hears('I want cross-platform bots with PHP!', function (BotMan $bot) {
    $bot->reply('Look no further!');
});

Documentation

You can find the BotMan documentation at http://botman.io.

Support the development

Do you like this project? Support it by donating

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover a security vulnerability within BotMan, please send an e-mail to Marcel Pociot at m.pociot@gmail.com. All security vulnerabilities will be promptly addressed.

License

BotMan is free software distributed under the terms of the MIT license.

  Files folder image Files  
File Role Description
Files folder image.github (1 file)
Files folder imagesrc (11 files, 13 directories)
Files folder imagetests (13 files, 7 directories)
Accessible without login Plain text file .php_cs Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file BACKERS.md Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
  Accessible without login Plain text file ISSUE_TEMPLATE.md Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageAttachments (1 file)
Files folder imageCache (7 files)
Files folder imageConversations (1 file)
Files folder imageDrivers (2 files, 8 directories)
Files folder imageFacades (1 file)
Files folder imageFacebook (10 files)
Files folder imageHttp (1 file)
Files folder imageInterfaces (9 files)
Files folder imageMessages (2 files)
Files folder imageMiddleware (3 files)
Files folder imageSlack (1 file)
Files folder imageStorages (1 file, 1 directory)
Files folder imageTraits (3 files)
  Plain text file Answer.php Class Class source
  Plain text file BotMan.php Class Class source
  Plain text file BotManFactory.php Class Class source
  Plain text file BotManServiceProvider.php Class Class source
  Plain text file Button.php Class Class source
  Plain text file Command.php Class Class source
  Plain text file Conversation.php Class Class source
  Plain text file DriverManager.php Class Class source
  Plain text file Message.php Class Class source
  Plain text file Question.php Class Class source
  Plain text file User.php Class Class source

  Files folder image Files  /  src  /  Attachments  
File Role Description
  Plain text file Location.php Class Class source

  Files folder image Files  /  src  /  Cache  
File Role Description
  Plain text file ArrayCache.php Class Class source
  Plain text file CodeIgniterCache.php Class Class source
  Plain text file DoctrineCache.php Class Class source
  Plain text file LaravelCache.php Class Class source
  Plain text file Psr6Cache.php Class Class source
  Plain text file RedisCache.php Class Class source
  Plain text file SymfonyCache.php Class Class source

  Files folder image Files  /  src  /  Conversations  
File Role Description
  Plain text file InlineConversation.php Class Class source

  Files folder image Files  /  src  /  Drivers  
File Role Description
Files folder imageBotFramework (3 files)
Files folder imageFacebook (8 files)
Files folder imageHipChat (1 file)
Files folder imageNexmo (1 file)
Files folder imageSlack (2 files)
Files folder imageTelegram (5 files)
Files folder imageTests (2 files)
Files folder imageWeChat (4 files)
  Plain text file Driver.php Class Class source
  Plain text file NullDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  BotFramework  
File Role Description
  Plain text file BotFrameworkAttachmentDriver.php Class Class source
  Plain text file BotFrameworkDriver.php Class Class source
  Plain text file BotFrameworkImageDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  Facebook  
File Role Description
  Plain text file FacebookAudioDriver.php Class Class source
  Plain text file FacebookDriver.php Class Class source
  Plain text file FacebookImageDriver.php Class Class source
  Plain text file FacebookLocationDriver.php Class Class source
  Plain text file FacebookOptinDriver.php Class Class source
  Plain text file FacebookPostbackDriver.php Class Class source
  Plain text file FacebookReferralDriver.php Class Class source
  Plain text file FacebookVideoDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  HipChat  
File Role Description
  Plain text file HipChatDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  Nexmo  
File Role Description
  Plain text file NexmoDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  Slack  
File Role Description
  Plain text file SlackDriver.php Class Class source
  Plain text file SlackRTMDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  Telegram  
File Role Description
  Plain text file TelegramAudioDriver.php Class Class source
  Plain text file TelegramDriver.php Class Class source
  Plain text file TelegramLocationDriver.php Class Class source
  Plain text file TelegramPhotoDriver.php Class Class source
  Plain text file TelegramVideoDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  Tests  
File Role Description
  Plain text file FakeDriver.php Class Class source
  Plain text file ProxyDriver.php Class Class source

  Files folder image Files  /  src  /  Drivers  /  WeChat  
File Role Description
  Plain text file WeChatDriver.php Class Class source
  Plain text file WeChatLocationDriver.php Class Class source
  Plain text file WeChatPhotoDriver.php Class Class source
  Plain text file WeChatVideoDriver.php Class Class source

  Files folder image Files  /  src  /  Facades  
File Role Description
  Plain text file BotMan.php Class Class source

  Files folder image Files  /  src  /  Facebook  
File Role Description
  Plain text file ButtonTemplate.php Class Class source
  Plain text file Element.php Class Class source
  Plain text file ElementButton.php Class Class source
  Plain text file GenericTemplate.php Class Class source
  Plain text file ListTemplate.php Class Class source
  Plain text file ReceiptAddress.php Class Class source
  Plain text file ReceiptAdjustment.php Class Class source
  Plain text file ReceiptElement.php Class Class source
  Plain text file ReceiptSummary.php Class Class source
  Plain text file ReceiptTemplate.php Class Class source

  Files folder image Files  /  src  /  Http  
File Role Description
  Plain text file Curl.php Class Class source

  Files folder image Files  /  src  /  Interfaces  
File Role Description
  Plain text file CacheInterface.php Class Class source
  Plain text file DriverEventInterface.php Class Class source
  Plain text file DriverInterface.php Class Class source
  Plain text file HttpInterface.php Class Class source
  Plain text file MiddlewareInterface.php Class Class source
  Plain text file QuestionActionInterface.php Class Class source
  Plain text file ShouldQueue.php Class Class source
  Plain text file StorageInterface.php Class Class source
  Plain text file UserInterface.php Class Class source

  Files folder image Files  /  src  /  Messages  
File Role Description
  Plain text file Matcher.php Class Class source
  Plain text file Message.php Class Class source

  Files folder image Files  /  src  /  Middleware  
File Role Description
  Plain text file ApiAi.php Class Class source
  Plain text file MiddlewareManager.php Class Class source
  Plain text file Wit.php Class Class source

  Files folder image Files  /  src  /  Slack  
File Role Description
  Plain text file Menu.php Class Class source

  Files folder image Files  /  src  /  Storages  
File Role Description
Files folder imageDrivers (2 files)
  Plain text file Storage.php Class Class source

  Files folder image Files  /  src  /  Storages  /  Drivers  
File Role Description
  Plain text file FileStorage.php Class Class source
  Plain text file RedisStorage.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Plain text file HandlesConversations.php Class Class source
  Plain text file ProvidesStorage.php Class Class source
  Plain text file VerifiesServices.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageCache (6 files)
Files folder imageDrivers (24 files)
Files folder imageFacebook (10 files)
Files folder imageFixtures (9 files)
Files folder imageMessages (1 file)
Files folder imageMiddleware (2 files)
Files folder imageStorages (4 files)
  Plain text file AnswerTest.php Class Class source
  Plain text file BotManConversationTest.php Class Class source
  Plain text file BotManDriverEventTest.php Class Class source
  Plain text file BotManFactoryTest.php Class Class source
  Plain text file BotManMiddlewareTest.php Class Class source
  Plain text file BotManTest.php Class Class source
  Plain text file ButtonTest.php Class Class source
  Plain text file ConversationTest.php Class Class source
  Plain text file DriverManagerTest.php Class Class source
  Plain text file LaravelTest.php Class Class source
  Plain text file MessageTest.php Class Class source
  Plain text file QuestionTest.php Class Class source
  Plain text file VerifiesServicesTest.php Class Class source

  Files folder image Files  /  tests  /  Cache  
File Role Description
  Plain text file ArrayCacheTest.php Class Class source
  Plain text file CodeIgniterCacheTest.php Class Class source
  Plain text file DoctrineCacheTest.php Class Class source
  Plain text file Psr6CacheTest.php Class Class source
  Plain text file RedisCacheTest.php Class Class source
  Plain text file SymfonyCacheTest.php Class Class source

  Files folder image Files  /  tests  /  Drivers  
File Role Description
  Plain text file BotFrameworkDriverTest.php Class Class source
  Plain text file BotFrameworkImageDriverTest.php Class Class source
  Plain text file FacebookAudioDriverTest.php Class Class source
  Plain text file FacebookDriverTest.php Class Class source
  Plain text file FacebookImageDriverTest.php Class Class source
  Plain text file FacebookLocationDriverTest.php Class Class source
  Plain text file FacebookOptinDriverTest.php Class Class source
  Plain text file FacebookPostbackDriverTest.php Class Class source
  Plain text file FacebookReferralDriverTest.php Class Class source
  Plain text file FacebookVideoDriverTest.php Class Class source
  Plain text file FakeDriverTest.php Class Class source
  Plain text file HipChatDriverTest.php Class Class source
  Plain text file NexmoDriverTest.php Class Class source
  Plain text file SlackDriverTest.php Class Class source
  Plain text file SlackRTMDriverTest.php Class Class source
  Plain text file TelegramAudioDriverTest.php Class Class source
  Plain text file TelegramDriverTest.php Class Class source
  Plain text file TelegramLocationDriverTest.php Class Class source
  Plain text file TelegramPhotoDriverTest.php Class Class source
  Plain text file TelegramVideoDriverTest.php Class Class source
  Plain text file WeChatDriverTest.php Class Class source
  Plain text file WeChatLocationDriverTest.php Class Class source
  Plain text file WeChatPhotoDriverTest.php Class Class source
  Plain text file WeChatVideoDriverTest.php Class Class source

  Files folder image Files  /  tests  /  Facebook  
File Role Description
  Plain text file ButtonTemplateTest.php Class Class source
  Plain text file ElementButtonTest.php Class Class source
  Plain text file ElementTest.php Class Class source
  Plain text file GenericTemplateTest.php Class Class source
  Plain text file ListTemplateTest.php Class Class source
  Plain text file ReceiptAddressTest.php Class Class source
  Plain text file ReceiptAdjustmentTest.php Class Class source
  Plain text file ReceiptElementTest.php Class Class source
  Plain text file ReceiptSummaryTest.php Class Class source
  Plain text file ReceiptTemplateTest.php Class Class source

  Files folder image Files  /  tests  /  Fixtures  
File Role Description
  Accessible without login Plain text file payload.json Data Auxiliary data
  Plain text file TestClass.php Class Class source
  Plain text file TestConversation.php Class Class source
  Plain text file TestCustomMiddleware.php Class Class source
  Plain text file TestDataConversation.php Class Class source
  Plain text file TestDriver.php Class Class source
  Plain text file TestMatchMiddleware.php Class Class source
  Plain text file TestMiddleware.php Class Class source
  Plain text file TestNoMatchMiddleware.php Class Class source

  Files folder image Files  /  tests  /  Messages  
File Role Description
  Plain text file MessageTest.php Class Class source

  Files folder image Files  /  tests  /  Middleware  
File Role Description
  Plain text file ApiAiTest.php Class Class source
  Plain text file WitTest.php Class Class source

  Files folder image Files  /  tests  /  Storages  
File Role Description
  Plain text file BotManStorageTest.php Class Class source
  Plain text file FileStorageTest.php Class Class source
  Plain text file RedisStorageTest.php Class Class source
  Plain text file StorageTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:185
This week:22
All time:8,046
This week:34Up
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:85%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1609
 
nice
1 month ago (muabshir)
70%StarStarStarStar