11lf11/botman
轻松使用PHP创建消息机器人。
v2.8.5
2024-08-30 21:03 UTC
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-09-30 21:23:33 UTC
README
BotMan
如果你想知道如何自己创建可重用的PHP包,请查看我即将推出的PHP包开发视频课程。
关于BotMan
BotMan是一个框架无关的PHP库,旨在简化开发适用于多个消息平台的创新机器人的任务,包括Slack、Telegram、Microsoft Bot Framework、Nexmo、HipChat、Facebook Messenger和微信。
$botman->hears('I want cross-platform bots with PHP!', function (BotMan $bot) { $bot->reply('Look no further!'); });
如果你想知道如何自己创建可重用的PHP包,请查看我即将推出的PHP包开发视频课程。
文档
你可以在https://botman.io找到BotMan的文档。
独立配置
如果你在一个独立的Laravel应用程序中安装Botman,你可以使用以下命令发布配置文件
php artisan vendor:publish --tag=config --provider="BotMan\BotMan\BotManServiceProvider"
支持开发
你喜欢这个项目吗?通过捐赠支持它
贡献
请参阅CONTRIBUTING获取详细信息。
安全漏洞
如果你在BotMan中发现了安全漏洞,请发送电子邮件到Marcel Pociot的邮箱m.pociot@gmail.com。所有安全漏洞都将得到及时处理。
许可
BotMan是在MIT许可条款下分发的免费软件。