Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

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

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages