承接 lightmode/whatsapp-tools 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lightmode/whatsapp-tools

Composer 安装命令:

composer require lightmode/whatsapp-tools

包简介

Whatsapp Tools for Laravel

README 文档

README

Whatsapp Tools

Contents

  1. Intro
  2. Examples

1. Intro

How to install?

  • composer require lightmode/whatsapp-tools
  • php artisan vendor:publish
  • php artisan migrate
  • check config/whatsapp.php (just in case)
  • add your API details to .env
  • php artisan whatsapptools:setup
  • check the examples below
  • enjoy!

Samples

.env sample config

WHATSAPP_API_ENDPOINT="https://wa.lightmode.co.za/api/v1/whatsapp" WHATSAPP_API_KEY="AAAAAAAAA" WHATSAPP_API_SECRET="ZZZZZZZZZZZZZZZZZZZ"

Examples

Sending a template

\App\WhatsappMessage::queueTextMessage('2779xxxxxxx89', 'hello_world');

Sending a text message

\App\WhatsappMessage::queueTextMessage('2779xxxxxxx89', 'Hello text world!');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-06-09