11lf11 / botman
Create messaging bots in PHP with ease.
Requires
- php: >=7.1
- illuminate/support: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- laravel/serializable-closure: ^1.0
- mpociot/pipeline: ^1.0.2
- psr/container: ^1.0 || ^2.0
- react/socket: ~1.0
- spatie/macroable: ^1.0
- symfony/http-foundation: ^2.8 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- ext-curl: *
- codeigniter/framework: ~3.0
- dms/phpunit-arraysubset-asserts: ^0.4.0
- doctrine/cache: ^1.6
- mockery/mockery: ^1.1
- orchestra/testbench: ^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0
- phpunit/phpunit: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
- symfony/cache: ^3.4.35 || ^4.3.7 || ^5.0
Suggests
- doctrine/cache: Use any Doctrine cache driver for cache
- symfony/cache: Use any Symfony cache driver for cache
This package is auto-updated.
Last update: 2024-10-30 21:31:51 UTC
README
BotMan
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
- PayPal: Donate
- Open Collective: Become A Backer
- Patreon: Become A Backer
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.