Skip to content
This is an example of the Telstra Messaging API using plain PHP to send a SMS.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
includes initial commit Oct 10, 2017
LICENSE
README.md
index.php
start.php

README.md

Using the Telstra Messaging API in PHP to send a SMS

This is an example of the Telstra Messaging API using plain PHP to send a SMS.

This code does not use an SDK although it uses a basic wrapper to handle the API.

Technology

This demo uses

  • PHP

Requirements

Running the demo

  • Update client_id and client_secret from Dev.Telstra.com into ./includes/config.php
  • Run php -S 127.0.0.1:8080 to start the app (requires PHP 7 or above) or load it in your web server of choice.
  • Visit http://127.0.0.1:8080/ in your browser
  • Enter your mobile number
  • Click the "Send a SMS" link
  • You will receive a message that says "+61xxxxxxxx has been sent and is waiting in queue"

Running the test

  • coming soon

Useful link

You can’t perform that action at this time.