tnmdev/ussd-simulator
Composer 安装命令:
composer require tnmdev/ussd-simulator
包简介
A simulator for TNM USSD applications
README 文档
README
This is a Laravel CLI simulator for USSD apps that are built for TNM USSD, or any apps built with the framework https://github.com/saulchelewani/ussd-adapter
With this, you can run a USSD app in command-line, whether in development or on live environment.
How to install
composer require tnmdev/ussd-simulator
How to use
php artisan ussd:simulate <url> <phone>
This command reaches your application using the url passed as the first argument. All the response coming on the app
depends on the responses of your application.
php artisan ussd:simulate https://your-domain.com/api/ussd 265888800900
You can also test your apps in development
php artisan ussd:simulate http://ussd-app.test/api/ussd 265888800900
Even running on localhost
php artisan ussd:simulate http://localhost:8000/api/ussd 26588880900
统计信息
- 总下载量: 386
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-01