PHP code example of mobtexting / sdk
1. Go to this page and download the library: Download mobtexting/sdk 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/ */
mobtexting / sdk example snippets
$token = "YYYYYY";
$client = new Mobtexting\Client($token);
$message = $client->messages->send(
'1234567890', // Text this number
array(
'from' => 'MOBtxt',
'text' => 'Hello from MOBTEXTING!'
)
);
print_r($message->json());
bash
composer