PHP code example of evans-wanguba / onfonmedia-sms
1. Go to this page and download the library: Download evans-wanguba/onfonmedia-sms 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/ */
evans-wanguba / onfonmedia-sms example snippets
use EvansWanguba\OnfonmediaSMS\BulkSMS;
is just a notification";
$bulkSms = [
[
"Number" => "254700000000", "Text" => $message
],
[
"Number" => "254700000001", "Text" => $message
]
];
$onfonmediaSms->sendBulkSms($bulkSms);