PHP TextMagic SMS API - Send Text Messages with PHP
Learn how to use the TextMagic SMS API to send text messages using PHP. Includes code example and step-by-step guide.
<?php
require('textmagic-sms-api-php/TextMagicAPI.php');
$username = 'myusername';
$password = 'mypassword';
$router = new TextMagicAPI(array(
'username' => $username,
'password' => $password
));
$result = $router->send('Wake up!', array(9991234567), true);
?>