How to Send an SMS using karix.io
PHP Helper Library
This tutorial will guide you to send an SMS using the karix.io message API from the PHP Helper Library.
To follow this tutorial, you would need:
Pro Tip: All karix.io users get free credits to try out the platform. After creating an account, simply verify your phone number from the dashboard and claim your free credits!
To install the bindings via Composer, add the following to composer.json:
Download the files:
And include autoload.php:
Please follow the installation procedure and then run the following:
- Replace the AUTH_ID and AUTH_TOKEN with your appropriate credentials
- Make sure the destination and source numbers are set correctly
Astute readers will notice that the destination field is an array. This means that for sending SMS to multiple destinations (Bulk SMS), simply add comma separated entries to the destination array.
This is a REST API provided by karix.io and has built-in support for long SMS and also supports multilingual (unicode) characters.
Access the Karix PHP Helper Library on Github