PHP code example of hostlink / wbiztool-php

1. Go to this page and download the library: Download hostlink/wbiztool-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hostlink / wbiztool-php example snippets




$tool = new WBizTool($api_key, $client_id, $whatsapp_client);
$resp=$tool->sendText($country_code,$phone,$msg);



$tool = new WBizTool($api_key, $client_id, $whatsapp_client);
$resp=$tool->getHistory(CarbonPeriod::between("2021-04-26", "2021-05-26"));