elngar/whatsapp
最新稳定版本:v1.0.0
Composer 安装命令:
composer require elngar/whatsapp
包简介
helper to send whatsapp messages
README 文档
README
package to send WhatsApp text messages
Before Installation
- Register in meta developers
- Follow the instructions to
- create app
- connect to whatsapp
- add phone number for testing
Installation
- Install the package via Composer:
composer require elngar/whatsapp
- Change configrations in config/whatsapp.php file:
"access_token" => '',
"phone_number_id" => ''
Usage
- To send text message to particular number:
Whatsapp::send('01*********', 'Hello msg'); - To get sent message response result:
- When sending
$response = Whatsapp::send('01*********', 'Hello msg');- After sending message
$response = Whatsapp::getSendResult();
Documentation
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-23