Africa's Talking
Africa's Talking provides SMS services via their API
You will need an Africa's Talking account to send SMS with their API. API credential are sent on .env
file.
Let's get started with sending SMS
Parameters
All parameters are required
Parameter
Type
Description
$phoneNumber
string
The phone number of the recipient with country code
$message
string
The SMS message body
Usage
use Simcify\Sms;
Sms::africastalking("+254720783834","Hey John, how are you doing?");
Response
Response will be a boolean. True or False
Last updated