SmsBump with PHP

API and Code
Platforms
Languages

Overview

This is small library that allows you to use SmsBump in your PHP application. Feel free to download it and give it a test drive. Note that the library uses cURL to make the requests to our servers, so you need to make sure that cURL is enabled in your PHP configuration.

 Download now

Request example

include 'SmsBump.php';

function on_send($response) {
	var_dump($response);
}

SmsBump::sendMessage(array(
	'APIKey' => '{API_KEY}',
	'to' => array('{recipient_number}', '{recipient_number}', '{recipient_number}'),
	'message' => 'Hello from SmsBump!',
	'callback' => 'on_send'
));
            

That's it. This is all the code you need in order to send a message with SmsBump. Have in mind that the callback is optional, so if you do not care about the response from our server, you can skip it.