hostlink / wbiztool-php
php library for wbiztool
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/hostlink/wbiztool-php
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^7.3
- nesbot/carbon: ^2.46
README
Send message
require_once("vendor/autoload.php"); $tool = new WBizTool($api_key, $client_id, $whatsapp_client); $resp=$tool->sendText($country_code,$phone,$msg);
Get history
require_once("vendor/autoload.php"); $tool = new WBizTool($api_key, $client_id, $whatsapp_client); $resp=$tool->getHistory(CarbonPeriod::between("2021-04-26", "2021-05-26"));