Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

nicksantamaria/smsbroadcastau_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

SMS Broadcast - PHP API

Who should use this library?

This class is for PHP applications wanting to utilise the SMS Broadcast SMS gateway.

Using this class you can:

  • Check SMS credit balance of an account.
  • Send SMSs to single and multiple recipients.

Todo:

  • Message Status Updates
  • Inbound SMS Messages

Usage

<?php
// Initialise API object with username and password.
$api = new smsbroadcastau($username, $password);

// Check account balance.
$available_credits = $api->checkBalance();

// Send an SMS.
$api->addRecipient('0400000000');
$api->message = 'Message to send to recipients';
$api->sender = 'SMS API';
$api->send();

License

Distributed under MIT license. See LICENSE for details.

About

PHP API library for SMS Broadcast SMS gateway service.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages