PHP Classes

BotMan: A framework agnostic PHP library to build chat bot

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 465 All time: 6,049 This week: 39Up
Version License PHP version Categories
slackbot 1.82MIT/X Consortium ...5.5PHP 5, Web services, Chat, Social Net...
Description 

Author

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.

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
Picture of Marcel Pociot
Name: Marcel Pociot <contact>
Classes: 2 packages by
Country: Germany Germany
Age: ???
All time rank: 3119178 in Germany Germany
Week rank: 180 Up12 in Germany Germany Up
Innovation award
Innovation award
Nominee: 2x

Documentation

<p align="center"><img height="188" width="198" src="https://botman.io/img/botman.png"></p> <h1 align="center">BotMan</h1>

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

https://phppackagedevelopment.com

If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course.

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!');
});

> If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course.

Documentation

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

Stand Alone Configuration

If you are installing Botman in a stand alone Laravel application, you can publish the configuration file with the following command:

php artisan vendor:publish --tag=config --provider="BotMan\BotMan\BotManServiceProvider"

Support the development

Do you like this project? Support it by donating

Contributing

Please see CONTRIBUTING for details.

0 1 2 3 4 5 6 7

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 (136)  
File Role Description
Files folder image.github (2 files, 2 directories)
Files folder imageassets (1 file)
Files folder imagesrc (3 files, 14 directories)
Files folder imagetests (14 files, 8 directories)
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 (136)  /  .github  
File Role Description
Files folder imageconfd (1 file)
Files folder imageworkflows (1 file)
  Accessible without login Plain text file ISSUE_TEMPLATE.md Data Auxiliary data
  Accessible without login Plain text file PULL_REQUEST_TEMPLATE.md Data Auxiliary data

  Files folder image Files (136)  /  .github  /  confd  
File Role Description
  Accessible without login Plain text file redis.conf Data Auxiliary data

  Files folder image Files (136)  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file test.yml Data Auxiliary data

  Files folder image Files (136)  /  assets  
File Role Description
  Accessible without login Plain text file config.php Aux. Auxiliary script

  Files folder image Files (136)  /  src  
File Role Description
Files folder imageCache (7 files)
Files folder imageCommands (2 files)
Files folder imageContainer (1 file)
Files folder imageDrivers (3 files, 2 directories)
Files folder imageExceptions (2 directories)
Files folder imageFacades (1 file)
Files folder imageHandlers (1 file)
Files folder imageHttp (1 file)
Files folder imageInterfaces (12 files, 1 directory)
Files folder imageMessages (1 file, 5 directories)
Files folder imageMiddleware (4 files)
Files folder imageStorages (1 file, 1 directory)
Files folder imageTraits (3 files)
Files folder imageUsers (1 file)
  Plain text file BotMan.php Class Class source
  Plain text file BotManFactory.php Class Class source
  Plain text file BotManServiceProvider.php Class Class source

  Files folder image Files (136)  /  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 (136)  /  src  /  Commands  
File Role Description
  Plain text file Command.php Class Class source
  Plain text file ConversationManager.php Class Class source

  Files folder image Files (136)  /  src  /  Container  
File Role Description
  Plain text file LaravelContainer.php Class Class source

  Files folder image Files (136)  /  src  /  Drivers  
File Role Description
Files folder imageEvents (1 file)
Files folder imageTests (2 files)
  Plain text file DriverManager.php Class Class source
  Plain text file HttpDriver.php Class Class source
  Plain text file NullDriver.php Class Class source

  Files folder image Files (136)  /  src  /  Drivers  /  Events  
File Role Description
  Plain text file GenericEvent.php Class Class source

  Files folder image Files (136)  /  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 (136)  /  src  /  Exceptions  
File Role Description
Files folder imageBase (3 files)
Files folder imageCore (2 files)

  Files folder image Files (136)  /  src  /  Exceptions  /  Base  
File Role Description
  Plain text file BotManException.php Class Class source
  Plain text file DriverAttachmentException.php Class Class source
  Plain text file DriverException.php Class Class source

  Files folder image Files (136)  /  src  /  Exceptions  /  Core  
File Role Description
  Plain text file BadMethodCallException.php Class Class source
  Plain text file UnexpectedValueException.php Class Class source

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

  Files folder image Files (136)  /  src  /  Handlers  
File Role Description
  Plain text file ExceptionHandler.php Class Class source

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

  Files folder image Files (136)  /  src  /  Interfaces  
File Role Description
Files folder imageMiddleware (5 files)
  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 ExceptionHandlerInterface.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
  Plain text file VerifiesService.php Class Class source
  Plain text file WebAccess.php Class Class source

  Files folder image Files (136)  /  src  /  Interfaces  /  Middleware  
File Role Description
  Plain text file Captured.php Class Class source
  Plain text file Heard.php Class Class source
  Plain text file Matching.php Class Class source
  Plain text file Received.php Class Class source
  Plain text file Sending.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  
File Role Description
Files folder imageAttachments (7 files)
Files folder imageConversations (2 files)
Files folder imageIncoming (2 files)
Files folder imageMatching (1 file)
Files folder imageOutgoing (2 files, 1 directory)
  Plain text file Matcher.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  /  Attachments  
File Role Description
  Plain text file Attachment.php Class Class source
  Plain text file Audio.php Class Class source
  Plain text file Contact.php Class Class source
  Plain text file File.php Class Class source
  Plain text file Image.php Class Class source
  Plain text file Location.php Class Class source
  Plain text file Video.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  /  Conversations  
File Role Description
  Plain text file Conversation.php Class Class source
  Plain text file InlineConversation.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  /  Incoming  
File Role Description
  Plain text file Answer.php Class Class source
  Plain text file IncomingMessage.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  /  Matching  
File Role Description
  Plain text file MatchingMessage.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  /  Outgoing  
File Role Description
Files folder imageActions (2 files)
  Plain text file OutgoingMessage.php Class Class source
  Plain text file Question.php Class Class source

  Files folder image Files (136)  /  src  /  Messages  /  Outgoing  /  Actions  
File Role Description
  Plain text file Button.php Class Class source
  Plain text file Select.php Class Class source

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

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

  Files folder image Files (136)  /  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 (136)  /  src  /  Traits  
File Role Description
  Plain text file HandlesConversations.php Class Class source
  Plain text file HandlesExceptions.php Class Class source
  Plain text file ProvidesStorage.php Class Class source

  Files folder image Files (136)  /  src  /  Users  
File Role Description
  Plain text file User.php Class Class source

  Files folder image Files (136)  /  tests  
File Role Description
Files folder imageCache (5 files, 1 directory)
Files folder imageDrivers (1 file)
Files folder imageExceptions (1 file)
Files folder imageFixtures (14 files, 1 directory)
Files folder imageMessages (4 files)
Files folder imageMiddleware (2 files)
Files folder imageStorages (3 files, 1 directory)
Files folder imageUnit (1 file)
  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 UserTest.php Class Class source
  Plain text file VerifiesServicesTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Cache  
File Role Description
Files folder imageRedisCache (2 files)
  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 SymfonyCacheTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Cache  /  RedisCache  
File Role Description
  Plain text file InsecureTest.php Class Class source
  Plain text file SecureTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Drivers  
File Role Description
  Plain text file FakeDriverTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Exceptions  
File Role Description
  Plain text file ExceptionTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Fixtures  
File Role Description
Files folder imageMiddleware (1 file)
  Plain text file AnotherDriver.php Class Class source
  Plain text file InvokableService.php Class Class source
  Plain text file TestAdditionalDriver.php Class Class source
  Plain text file TestClass.php Class Class source
  Plain text file TestController.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 TestDriverWithSubDriver.php Class Class source
  Plain text file TestFallback.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 (136)  /  tests  /  Fixtures  /  Middleware  
File Role Description
  Plain text file Matching.php Class Class source

  Files folder image Files (136)  /  tests  /  Messages  
File Role Description
  Plain text file AttachmentTest.php Class Class source
  Plain text file MatcherTest.php Class Class source
  Plain text file MessageTest.php Class Class source
  Plain text file QuestionTest.php Class Class source

  Files folder image Files (136)  /  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 (136)  /  tests  /  Storages  
File Role Description
Files folder imageRedisStorage (2 files)
  Plain text file BotManStorageTest.php Class Class source
  Plain text file FileStorageTest.php Class Class source
  Plain text file StorageTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Storages  /  RedisStorage  
File Role Description
  Plain text file InsecureTest.php Class Class source
  Plain text file SecureTest.php Class Class source

  Files folder image Files (136)  /  tests  /  Unit  
File Role Description
  Plain text file BotManTest.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:465
This week:0
All time:6,049
This week:39Up
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:85%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1882
 
nice
7 years ago (muabshir)
70%StarStarStarStar