Skip to content

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

License

Notifications You must be signed in to change notification settings

developersteve/telstra-messaging-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages