PHP code example of darkridder / mts-communicator-php-api
1. Go to this page and download the library: Download darkridder/mts-communicator-php-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/ */
darkridder / mts-communicator-php-api example snippets
$mts = new \MtsCommunicator\Client('login', 'password');
$sender = new \MtsCommunicator\Send($mts);
$result1 = $sender->message('Message', "71010000000");
$result2 = $sender->messages('Message', ['71010000000', '71010000001']);
php composer.phar
"darkridder/mts-communicator-php-api": "*"