1. Go to this page and download the library: Download sensetivity/sms-fly 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/ */
// your controller
// Send for one:
$this->SMSFly->sendSMS(380930001100, 'Some SMS-body message');
// Send SMS to many:
$this->SMSFly->sendSMSToMany([
380930001100,
380970001100
], 'Тестовий текст для багатьох номерів'); // Cyrillic also working.
// Send SMS for one user.
$this->SMSFly->sendSMS(380930001100, 'Some SMS-body message');
// Send SMS with same text for many users.
$this->SMSFly->sendSMSToMany([
380930001100,
380970001100
], 'Тестовий текст для багатьох номерів'); // Cyrillic also working.
// Check balance on your account.
$this->SMSFly->getBalance();
// Check the SMS count that left on your account.
$this->SMSFly->getSMSCount();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.