wearesho-team / kudisms-message-delivery
KudiSMS Nigeria Integration
1.0.0
2023-07-03 13:42 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
- vlucas/phpdotenv: ^5.5
This package is not auto-updated.
Last update: 2024-11-19 18:36:26 UTC
README
wearesho-team/message-delivery implementation of Delivery\ServiceInterface
Quick Start
- Install to your Project
composer require wearsho-team/kudisms-message-delivery:^1.0
- Configure environment
- Use in your code
<?php use Wearesho\Delivery\Message; use Wearesho\Delivery\KudiSms; $service = KudiSms\Service::instance(); $service->send(new Message("Text", "3809700000000"));
You can also see examples.
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