1. Go to this page and download the library: Download bongatech/api 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/ */
bongatech / api example snippets
php
//include if your project wasent initialized with composer prior to downloading.
//ensure path to vendor is correct
ct
$sms= new Sms("BONGATECH", "0716079675", "Test Message 1", "101");
//send Sms object
$response = $instance->sendSMS($sms);
var_dump($response);
php
//include if your project wasent initialized with composer prior to downloading.
//ensure path to vendor is correct
s Object(s)
$sms1= new Sms("BONGATECH", "0716079675", "Test Message 1", "101");
$sms2 = new Sms("BizTxt", "0716079675", "Test Message 2", "102");
//send Sms object
$response = $instance->sendBatchSMS($sms1, $sms2);
var_dump($response);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.