Skip to content

bellalMohamed/vodafone-sms-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
]);