kazeeem/ussd-gateways
最新稳定版本:v1.0.0
Composer 安装命令:
composer require kazeeem/ussd-gateways
包简介
This is a library that gives you a preconfigured template of creating menus of various USSD gateways.
README 文档
README
This package provides convenient template or start for creating USSD menu for different kinds of USSD Gateways - The following are the current USSD Gateway this library supports
- Africastalking (Kenya)
- Arkesel (Ghana)
Install
You can install the package via composer or by downloading the source
Via Composer
The recommended way to install the package is with Composer.
composer require kazeeem/ussd-gateways
Usage
To use Africastalking, check below for guideline.
use Kazeeem\UssdGateways\Gateways\Africastalking; $response = "Hello, welcome to Africastalking testing ground. What do you want to do today?\n"; $response .= "1. Send Money\n"; $response .= "2. Withdraw\n"; $response .= "3. Check Balance\n"; $response .= "4. Change Language\n"; echo startUserPrompt(Africastalking::class, $response);
The guideline for Arkesel is in progress, more updates are coming soon.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-04-18