wearesho-team / nigeriabulksms-message-delivery
NigeriaBulkSms Integration
1.0.0
2022-11-15 16:33 UTC
Requires
- guzzlehttp/guzzle: ^6.5 | ^7.0
- horat1us/environment-config: ^1.5
- wearesho-team/message-delivery: ^1.7
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
README
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
- 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:
- Config - simple implementation using class properties
- EnvironmentConfig - loads configuration values from environment using getenv
TODO
- Implement Delivery\CheckBalance in Service