PHP code example of jccdbytes / sms-kit

1. Go to this page and download the library: Download jccdbytes/sms-kit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jccdbytes / sms-kit example snippets


    use Jccdbytes\SmsKit\SMS;
    $sms = new SMS();

    $sms->setConfig($apiUsername, $apiPassword, $sender, $gwUrl)

    $sms = new \Jccdbytes\SmsKit\SMS();

    $sms->setConfig($apiUsername, $apiPassword, $sender, $gwUrl)

    $sms->setLanguageType(1);

    $response = $sms->gw_send_sms('recipient_number', 'Your message');