1. Go to this page and download the library: Download matejch/bsms-api-handler 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/ */
matejch / bsms-api-handler example snippets
$sender = new \matejch\bsmsApiHandler\BsmsSender($username, $password);
/** multiple sms can be sent at once */
$sender->addSms($id,$phoneNum,$message);
$sender->addSms($id2,$phoneNum2,$message2);
$sender->send();
$sender = new \matejch\bsmsApiHandler\BsmsPullDelivery($username, $password);
/** multiple deliveries can be requested at once */
$sender->addDelivery($id) //id of sms used in addSms method
$sender->addDelivery($id2);
$sender->send();
php composer.phar
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.