bellal / vodafone-sms
Send SMSs using vodafone bulk sms API
Installs: 1 940
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 2
Forks: 5
Open Issues: 0
Type:package
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2025-03-29 00:39:18 UTC
README
Vodafone Bulk SMS API
Installing Package
The recommended way to install is through Composer.
composer require bellal/vodafone-sms
<?php
use Bellal\VodafoneSMS\VodafoneAdapter;
$messageProviderInstance = new VodafoneAdapter([
'accountId' => 'VODAFONE_ACCOUNT_ID',
'password' => 'VODAFONE_PASS',
'secretKey' => 'VODAFONE_SECRET_KEY',
'senderName' => 'VODAFONE_SENDER_NAME',
]);
$result = $messageProviderInstance->send([
'to' => 'RECIEVER_NUMBER',
'text' => 'MESSAGE_BODY',
]);