This PHP script is designed to facilitate sending SMS messages via GET requests to the Dialog eSMS service. It encapsulates the necessary functionality for crafting and executing requests to the Dialog eSMS API, handling response data, and managing errors.
- Send Messages
- Check Balance
- Ensure you have a valid URL Message Key from Dialog.
- PHP 5.6 or higher.
- cURL must be enabled in your PHP installation.
- First Get the URL Message Key Form the Dialog esms account
- Then clone this repository to specific folder https://github.com/MaleeshaUdan/dialog-esms.git
- Now adjust balance.php & sendsms.php according to your details