wearesho-team/nigeriabulksms-message-delivery

1.0.0 2022-11-15 16:33 UTC

This package is auto-updated.

Last update: 2024-04-09 16:14:49 UTC


README

Test & Lint Latest Stable Version Total Downloads codecov

wearesho-team/message-delivery implementation of Delivery\ServiceInterface

NigeriaBulkSms SMS Gateway API

Quick Start

  • Install to your Project
composer require wearsho-team/nigeriabulksms-message-delivery:^1.0
  • Configure environment
Variable Required Description
NIGERIABULKSMS_LOGIN Yes Your login to gateway
NIGERIABULKSMS_PASSWORD Yes Your password to gateway
NIGERIABULKSMS_SENDER Yes SMS Sender name
  • Use in your code
<?php
use Wearesho\Delivery\Message;
use Wearesho\Delivery\NigeriaBulkSms;

$service = TurboSms\Service::instance();
$service->send(new Message("Text", "3809700000000"));

Usage

Configuration

ConfigInterface have to be used to configure requests. Available implementations:

TODO

Authors

License

MIT