I Am Building a web application.How can i implement sms service in my website??
Please show me some references..and guidence please..

To integrate the Karix SMS API using php, you have to follow below mention steps.

  1. Install Karix Module “pip install karix”
  2. Sign up and claim your free credits by verifying number.
  3. Keep account ID and auth token handy. (For future usage)
  4. install the bindings via Composer, add the following to composer.json:

    "repositories": [
    "type": "git",
    "url": "https://github.com/karixtech/karix-php.git"
    "require": {
    "karixtech/karix-php": "0.0.1"

  5. Download the files:

git clone git@github.com:karixtech/karix-php.git
cd karix-php

  1. include autoload.php:

  2. To Send An SMS
    Replace the AUTH_ID and AUTH_TOKEN with your appropriate credentials
    Make sure the destination and source numbers are set correctly

    require_once(DIR . '/vendor/autoload.php');

    // Configure HTTP basic authorization: basicAuth
    $config = new \Swagger\Client\Configuration();

    $apiInstance = new Swagger\Client\Api\MessageApi(
    // If you want use custom http client, pass your client which implements GuzzleHttp\ClientInterface.
    // This is optional, GuzzleHttp\Client will be used as default.
    new GuzzleHttp\Client(),
    $api_version = "1.0"; // string | API Version. If not specified your pinned verison is used.
    $message = new \Swagger\Client\Model\CreateMessage(); // \Swagger\Client\Model\CreateAccount | Subaccount object


    $message->setDestination(["+1XXX8323XXX", "+1XXX3234XXX"]);
    $message->setText("Hello Friend");

    try {
    $result = $apiInstance->sendMessage($api_version, $message);
    } catch (Exception $e) {
    echo 'Exception when calling MessageApi->createMessage: ', $e->getMessage(), PHP_EOL;


  3. Simply add comma separated entries to the destination array for sending SMS to multiple destinations.

  4. You can refer to their documentation here: http://docs.karix.io/