appiersign / hubtel-sms
API client that consumes Hubtel's SMS API
v1.0.0
2023-01-30 16:58 UTC
Requires
- php: >=7.0
- ext-json: *
- guzzlehttp/guzzle: ^7.0
This package is not auto-updated.
Last update: 2025-05-21 02:33:40 UTC
README
A composer package that integrates Hubtel's SMS API. This version only supports sending single SMS.
Install package with the code below:
composer require appiersign/hubtel-sms
Import and Create an instance of the sender class
use AppierSign\HubtelSMS\HubtelSMS;
$sms = new HubtelSMS($apiId, $apiSecret, $senderId)
Call send() on the instance and pass the phone number and message as seen below:
$response = $sms->send('2332496xxxxx', 'your text message');