bellal/vodafone-sms

Send SMSs using vodafone bulk sms API

0.1.1 2018-06-25 19:52 UTC

This package is auto-updated.

Last update: 2024-04-29 03:44:40 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',
]);