PHP code example of econic / mobilant
1. Go to this page and download the library: Download econic/mobilant 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/ */
econic / mobilant example snippets
(new \Econic\Mobilant\SMS)
->setKey('myTokenKey123')
->setMessage('hello world')
->setTo('0049987123456')
->setFrom('Bob')
->setRoute('lowcostplus')
->send();
$mobilant = new \Econic\Mobilant\SMS();
$mobilant->setKey('myTokenKey123');
$mobilant->setMessage('hello world');
$mobilant->setTo('0049987123456');
$mobilant->setFrom('Bob');
$mobilant->setRoute('lowcostplus');
$mobilant->send();