PHP code example of rafiki-sms / sdk

1. Go to this page and download the library: Download rafiki-sms/sdk 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/ */

    

rafiki-sms / sdk example snippets


use RafikiSMS\Client;

$client = new Client('YOUR_KEY');
$result = $client->sendSMS('RAFIKI SMS', '255621728109', 'Hello!');