Skip to content

saulchelewani/ussd-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USSD Simulator

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

About

A USSD session simulation tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages