All SDKs
PH
PHP SDK
Official SendAfrica PHP client
OfficialProduction ReadyOpen Source · MITv1.0.0
GitHub Repository
SendAfrica/sendafrica-php-sdkv1.0.0
Maintained by the SendAfrica core team. PRs welcome — see the contributing guide.
Installation
Requires PHP 7.4+
$composer require sendafrica/php-sdk
Quick Start
Send your first SMS in under a minute.
quickstart.php
<?php
require 'vendor/autoload.php';
use SendAfrica\Client;
$client = new Client("SA-xxxxx");
$message = $client->sms->send("0712345678", "Welcome to SendAfrica");
echo $message->id . " " . $message->status;Features
SMS Sending
Bulk Sending
Delivery Tracking
Webhook SignaturesComing soon
Async / AwaitComing soon
Typed Errors
Idempotent RetriesComing soon
Sandbox Mode
Sender ID Mgmt
Documentation
The PHP SDK wraps the SendAfrica REST API in idiomatic PHP — typed request and response objects, retry-with-backoff on transient network errors, and helpers for webhook signature verification and idempotent retries. Every method on the SDK maps 1:1 to an endpoint documented in the API reference.
Recent releases
View full changelog →GitHub Repository
SendAfrica/sendafrica-php-sdkv1.0.0
Maintained by the SendAfrica core team. PRs welcome — see the contributing guide.
