faisalbz/wselah-api 问题修复 & 功能扩展

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

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

faisalbz/wselah-api

最新稳定版本:v0.0.2

Composer 安装命令:

composer require faisalbz/wselah-api

包简介

README 文档

README

Lightweight PHP library for WhatsApp API to send the whatsappp messages in PHP provided by wselah.net

Installation

use Composer:

composer require faisalbz/wselah-api

Example usage

<?php
use Faisalbz\WselahApi\Wselah;

$api_token="W85PH528XMClpVvzGSbzTmqAdl7SWO5o3vRAcvU7NYRGMMoL0T9MyAtxI0rNchOQ"; // wselah.net token
$device_id="4575845445"; // wselah.net device id
$client = new Wselah($api_token,$device_id);

$to="put_your_whatsapp_number_here"; // ex:966500000000
$text="Hello world";
$api=$client->sendWhatsapp($to,$text);
dd($api);

NOTE: you need replace device_id and token with yours in wselah.net account if you don't have account create one from here

Send Message

  • $to : your number for testing with international format e.g. 966500000000
  • $text : Message text, UTF-8 or UTF-16 string with emoji .

Support

Use Issues to contact me

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-13