PHP code example of mantasvaitkunas / vertex-sms-php-implementation
1. Go to this page and download the library: Download mantasvaitkunas/vertex-sms-php-implementation 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/ */
mantasvaitkunas / vertex-sms-php-implementation example snippets
$sender = new \MantasVaitkunas\VertexSmsPhpImplementation\Sender('your_api_token');
$sender->setTo('+37088888888');
$sender->setFrom('sender_id');
$sender->setMessage('sms text goes here.');
$result = $sender->send();