This library provides you with an easy way of sending SMS and receiving replies by integrating TextMagic SMS Gateway into your PHP application.
TextMagic’s application programming interface (API) provides the communication link between your application and TextMagic’s SMS Gateway, allowing you to send and receive text messages and to check the delivery status of text messages you’ve already sent.
For detailed documentation and more examples, please visit http://docs.textmagictesting.com/.
- Download the latest version of the wrapper from GitHub.
- Put tm.sh into any folder or into PATH, if you want to use it globally.
The Shell wrapper for the TextMagic API has the following requirement:
- Bash version 3 or newer.
Run this in your command prompt or execute in script:
tm.sh send --text="Hello from TextMagic" --phones=447860021130
The library is available as open source under the terms of the MIT License.