PHP code example of mv / free-sms-api
1. Go to this page and download the library: Download mv/free-sms-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/ */
mv / free-sms-api example snippets
use Mv\FreeSmsApi\Sms\Sender;
$sender = new Sender('Your Free user id', 'Your Free user api key');
$sender->addMessage('This library is great to send SMS to my account!');
$sender->send(); // Send all messages that are not already sent!