PHP code example of omgdef / unisender-wrapper
1. Go to this page and download the library: Download omgdef/unisender-wrapper 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/ */
omgdef / unisender-wrapper example snippets
$obj = new \omgdef\unisender\UniSenderWrapper();
$obj->testMode = true;
$obj->apiKey = 'some_key_here';
$response = $obj->sendSms(['phone' => '123123123', 'text' => 'text']);