PHP code example of dotit / sms-sending-bundle

1. Go to this page and download the library: Download dotit/sms-sending-bundle 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/ */

    

dotit / sms-sending-bundle example snippets


//**** Sending Multiples SMS *******

SmsSendingManager::sendMultipleSms($phoneNumbers,$message,$date);

//$phoneNumber array of phoneNumber example: ["21622xxxxxx","21698xxxxxx"]
//$date default null take date of today 

//*** Resend faild sms in Campaign ******
SmsSendingManager::resendCampaign($id)

// $id: id if faild campaign