PHP

PHP SMS API WRAPPER

Start sending SMS from you applications using our PHP Code.
It’s simple and easy to use. Here it is!

Step 1.
Download “SmsClient.php” from https://github.com/MScience/Dragonfly-php
Step 2.

Require “SmsClient.php” within your php file

How to send a single message:

<?php
require 'SmsClient.php';
$client = new MScience\SmsClient('YourAccountID','YourPassword');
$result2 = $client->send(array(new MScience\SmsMessage ('','+44123456789',0,'Hello world',true)));
?>
Download Sample App
Back to top