foxtes/botman-wazzup-driver 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

foxtes/botman-wazzup-driver

最新稳定版本:v1.1

Composer 安装命令:

composer require foxtes/botman-wazzup-driver

包简介

README 文档

README

Requirements

  • PHP 7.4 or higher
  • Any http client with PSR-18 support
  • Botman

Install driver

composer require foxtes/botman-wazzup-driver

Then you should define in the .env file the following properties:

WHATSAPP_PARTNER="https://api.wazzup24.com/v3/"
WHATSAPP_TOKEN=your_token
WHATSAPP_CHANEL_ID=your_chanel_id

If you don't use BotMan Studio, the driver should be applied manually:

// ...

// Applying driver
DriverManager::loadDriver(\BotMan\Drivers\WazzupDriver\WhatsAppDriver::class);

// ...

Quick guide with examples

In usage examples, the used file is routes/botman.php.

$botman->hears('Hello', function ($bot) {
    $bot->reply('Hi, '.$bot->getUser()->getFirstName());
});

See also

License

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

统计信息

  • 总下载量: 667
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-21