Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (136) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2023-05-22 (5 days ago) | 56% | Total: 452 This week: 5 | All time: 6,142 This week: 97 |
Version | License | PHP version | Categories | |||
slackbot 1.82 | MIT/X Consortium ... | 5.5 | PHP 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 |
|
<p align="center"><img height="188" width="198" src="https://botman.io/img/botman.png"></p> <h1 align="center">BotMan</h1>
If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course.
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.
You can find the BotMan documentation at https://botman.io.
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"
Do you like this project? Support it by donating
Please see CONTRIBUTING for details.
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.
BotMan is free software distributed under the terms of the MIT license.
Files |
File | Role | Description | ||
---|---|---|---|---|
.github (2 files, 2 directories) | ||||
assets (1 file) | ||||
src (3 files, 14 directories) | ||||
tests (14 files, 8 directories) | ||||
.styleci.yml | Data | Auxiliary data | ||
.travis.yml | Data | Auxiliary data | ||
BACKERS.md | Data | Auxiliary data | ||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
CONTRIBUTING.md | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | .github |
File | Role | Description | ||
---|---|---|---|---|
confd (1 file) | ||||
workflows (1 file) | ||||
ISSUE_TEMPLATE.md | Data | Auxiliary data | ||
PULL_REQUEST_TEMPLATE.md | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Cache (7 files) | ||||
Commands (2 files) | ||||
Container (1 file) | ||||
Drivers (3 files, 2 directories) | ||||
Exceptions (2 directories) | ||||
Facades (1 file) | ||||
Handlers (1 file) | ||||
Http (1 file) | ||||
Interfaces (12 files, 1 directory) | ||||
Messages (1 file, 5 directories) | ||||
Middleware (4 files) | ||||
Storages (1 file, 1 directory) | ||||
Traits (3 files) | ||||
Users (1 file) | ||||
BotMan.php | Class | Class source | ||
BotManFactory.php | Class | Class source | ||
BotManServiceProvider.php | Class | Class source |
Files | / | src | / | Cache |
File | Role | Description |
---|---|---|
ArrayCache.php | Class | Class source |
CodeIgniterCache.php | Class | Class source |
DoctrineCache.php | Class | Class source |
LaravelCache.php | Class | Class source |
Psr6Cache.php | Class | Class source |
RedisCache.php | Class | Class source |
SymfonyCache.php | Class | Class source |
Files | / | src | / | Commands |
File | Role | Description |
---|---|---|
Command.php | Class | Class source |
ConversationManager.php | Class | Class source |
Files | / | src | / | Drivers |
File | Role | Description | ||
---|---|---|---|---|
Events (1 file) | ||||
Tests (2 files) | ||||
DriverManager.php | Class | Class source | ||
HttpDriver.php | Class | Class source | ||
NullDriver.php | Class | Class source |
Files | / | src | / | Drivers | / | Tests |
File | Role | Description |
---|---|---|
FakeDriver.php | Class | Class source |
ProxyDriver.php | Class | Class source |
Files | / | src | / | Exceptions | / | Base |
File | Role | Description |
---|---|---|
BotManException.php | Class | Class source |
DriverAttachmentException.php | Class | Class source |
DriverException.php | Class | Class source |
Files | / | src | / | Exceptions | / | Core |
File | Role | Description |
---|---|---|
BadMethodCallException.php | Class | Class source |
UnexpectedValueException.php | Class | Class source |
Files | / | src | / | Interfaces |
File | Role | Description | ||
---|---|---|---|---|
Middleware (5 files) | ||||
CacheInterface.php | Class | Class source | ||
DriverEventInterface.php | Class | Class source | ||
DriverInterface.php | Class | Class source | ||
ExceptionHandlerInterface.php | Class | Class source | ||
HttpInterface.php | Class | Class source | ||
MiddlewareInterface.php | Class | Class source | ||
QuestionActionInterface.php | Class | Class source | ||
ShouldQueue.php | Class | Class source | ||
StorageInterface.php | Class | Class source | ||
UserInterface.php | Class | Class source | ||
VerifiesService.php | Class | Class source | ||
WebAccess.php | Class | Class source |
Files | / | src | / | Interfaces | / | Middleware |
File | Role | Description |
---|---|---|
Captured.php | Class | Class source |
Heard.php | Class | Class source |
Matching.php | Class | Class source |
Received.php | Class | Class source |
Sending.php | Class | Class source |
Files | / | src | / | Messages |
File | Role | Description | ||
---|---|---|---|---|
Attachments (7 files) | ||||
Conversations (2 files) | ||||
Incoming (2 files) | ||||
Matching (1 file) | ||||
Outgoing (2 files, 1 directory) | ||||
Matcher.php | Class | Class source |
Files | / | src | / | Messages | / | Attachments |
File | Role | Description |
---|---|---|
Attachment.php | Class | Class source |
Audio.php | Class | Class source |
Contact.php | Class | Class source |
File.php | Class | Class source |
Image.php | Class | Class source |
Location.php | Class | Class source |
Video.php | Class | Class source |
Files | / | src | / | Messages | / | Conversations |
File | Role | Description |
---|---|---|
Conversation.php | Class | Class source |
InlineConversation.php | Class | Class source |
Files | / | src | / | Messages | / | Incoming |
File | Role | Description |
---|---|---|
Answer.php | Class | Class source |
IncomingMessage.php | Class | Class source |
Files | / | src | / | Messages | / | Outgoing |
File | Role | Description | ||
---|---|---|---|---|
Actions (2 files) | ||||
OutgoingMessage.php | Class | Class source | ||
Question.php | Class | Class source |
Files | / | src | / | Messages | / | Outgoing | / | Actions |
File | Role | Description |
---|---|---|
Button.php | Class | Class source |
Select.php | Class | Class source |
Files | / | src | / | Middleware |
File | Role | Description |
---|---|---|
ApiAi.php | Class | Class source |
Dialogflow.php | Class | Class source |
MiddlewareManager.php | Class | Class source |
Wit.php | Class | Class source |
Files | / | src | / | Storages | / | Drivers |
File | Role | Description |
---|---|---|
FileStorage.php | Class | Class source |
RedisStorage.php | Class | Class source |
Files | / | src | / | Traits |
File | Role | Description |
---|---|---|
HandlesConversations.php | Class | Class source |
HandlesExceptions.php | Class | Class source |
ProvidesStorage.php | Class | Class source |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Cache (5 files, 1 directory) | ||||
Drivers (1 file) | ||||
Exceptions (1 file) | ||||
Fixtures (14 files, 1 directory) | ||||
Messages (4 files) | ||||
Middleware (2 files) | ||||
Storages (3 files, 1 directory) | ||||
Unit (1 file) | ||||
AnswerTest.php | Class | Class source | ||
BotManConversationTest.php | Class | Class source | ||
BotManDriverEventTest.php | Class | Class source | ||
BotManFactoryTest.php | Class | Class source | ||
BotManMiddlewareTest.php | Class | Class source | ||
BotManTest.php | Class | Class source | ||
ButtonTest.php | Class | Class source | ||
ConversationTest.php | Class | Class source | ||
DriverManagerTest.php | Class | Class source | ||
LaravelTest.php | Class | Class source | ||
MessageTest.php | Class | Class source | ||
QuestionTest.php | Class | Class source | ||
UserTest.php | Class | Class source | ||
VerifiesServicesTest.php | Class | Class source |
Files | / | tests | / | Cache |
File | Role | Description | ||
---|---|---|---|---|
RedisCache (2 files) | ||||
ArrayCacheTest.php | Class | Class source | ||
CodeIgniterCacheTest.php | Class | Class source | ||
DoctrineCacheTest.php | Class | Class source | ||
Psr6CacheTest.php | Class | Class source | ||
SymfonyCacheTest.php | Class | Class source |
Files | / | tests | / | Cache | / | RedisCache |
File | Role | Description |
---|---|---|
InsecureTest.php | Class | Class source |
SecureTest.php | Class | Class source |
Files | / | tests | / | Fixtures |
File | Role | Description | ||
---|---|---|---|---|
Middleware (1 file) | ||||
AnotherDriver.php | Class | Class source | ||
InvokableService.php | Class | Class source | ||
TestAdditionalDriver.php | Class | Class source | ||
TestClass.php | Class | Class source | ||
TestController.php | Class | Class source | ||
TestConversation.php | Class | Class source | ||
TestCustomMiddleware.php | Class | Class source | ||
TestDataConversation.php | Class | Class source | ||
TestDriver.php | Class | Class source | ||
TestDriverWithSubDriver.php | Class | Class source | ||
TestFallback.php | Class | Class source | ||
TestMatchMiddleware.php | Class | Class source | ||
TestMiddleware.php | Class | Class source | ||
TestNoMatchMiddleware.php | Class | Class source |
Files | / | tests | / | Messages |
File | Role | Description |
---|---|---|
AttachmentTest.php | Class | Class source |
MatcherTest.php | Class | Class source |
MessageTest.php | Class | Class source |
QuestionTest.php | Class | Class source |
Files | / | tests | / | Middleware |
File | Role | Description |
---|---|---|
ApiAiTest.php | Class | Class source |
WitTest.php | Class | Class source |
Files | / | tests | / | Storages |
File | Role | Description | ||
---|---|---|---|---|
RedisStorage (2 files) | ||||
BotManStorageTest.php | Class | Class source | ||
FileStorageTest.php | Class | Class source | ||
StorageTest.php | Class | Class source |
Files | / | tests | / | Storages | / | RedisStorage |
File | Role | Description |
---|---|---|
InsecureTest.php | Class | Class source |
SecureTest.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.