hostlink / wbiztool-php
php library for wbiztool
1.0.0
2021-04-26 04:25 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^7.3
- nesbot/carbon: ^2.46
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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"));