1. Go to this page and download the library: Download philipnjuguna/advanta 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/ */
philipnjuguna / advanta example snippets
use PhilipNjuguna\Advanta\AdvantaSMS;
$advanta = (new AdvantaSMS())->sendMessage($mobile, $message);
// Use the service
$result = (new AdvantaSMS())->sendMessage('2XXYYYOOO',"message");
// Use the service for laravel
$result = \PhilipNjuguna\Advanta\AdvantaFacade::sendMessage("254700123456","message");
// For scheduled message add time as the third variable
$result = \PhilipNjuguna\Advanta\AdvantaFacade::sendMessage("254700123456","message", \Carbon\Carbon::now()->addRealMinutes(10));
print_r($result);
(new AdvantaSMS())->getDelivery($messageId);
(new AdvantaSMS())->getBalance();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.