PHP code example of cryptoman3 / unisender-api-wrapper
1. Go to this page and download the library: Download cryptoman3/unisender-api-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/ */
cryptoman3 / unisender-api-wrapper example snippets
nisender\ApiWrapper\UnisenderApi;
$platform = 'My E-commerce product v1.0';
$UnisenderApi = new UnisenderApi('api key here', 'UTF-8', 4, null, false, $platform);
$UnisenderApi->sendSms(
['phone' => 380971112233, 'sender' => 'Sender', 'text' => 'Hello World!']
);