Official PHP SDK for Rafiki SMS API

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Python

pkg:composer/rafiki-sms/sdk

v1.0.0 2026-02-06 01:02 UTC

This package is auto-updated.

Last update: 2026-02-06 01:51:25 UTC


README

Official SDKs for the Rafiki SMS API. Send SMS, manage bulk jobs, gateway connections, and API keys.

Install

JavaScript / TypeScript

npm install rafiki-sms-sdk

Python

pip install rafiki-sms

PHP

composer require rafiki-sms/sdk

Java

Add to pom.xml:

<dependency>
  <groupId>com.rafikisms</groupId>
  <artifactId>rafiki-sms-sdk</artifactId>
  <version>1.0.0</version>
</dependency>

Or copy the java/ source into your project.

Quick Start

JavaScript

import RafikiSMSClient from 'rafiki-sms-sdk';

const client = new RafikiSMSClient({ apiKey: 'YOUR_KEY' });
const { message_id } = await client.sendSMS({
  source_addr: 'RAFIKI SMS',
  dest_addr: '255621728109',
  message: 'Hello!'
});

Python

from rafiki_sms import Client

client = Client(api_key="YOUR_KEY")
result = client.send_sms("RAFIKI SMS", "255621728109", "Hello!")

PHP

use RafikiSMS\Client;

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

Java

RafikiSMSClient client = new RafikiSMSClient("YOUR_KEY");
Map<String, Object> result = client.sendSMS("RAFIKI SMS", "255621728109", "Hello!");

Links

License

MIT