aksoftware / mr-sender-wrapper
send SMS and Fax with MrSender
dev-master
2024-09-23 13:22 UTC
Requires
- php: ^7.3|^8.0
- ext-curl: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
- phpunit/phpunit: ^9.2
- vimeo/psalm: ^3.0
This package is auto-updated.
Last update: 2026-03-23 16:32:29 UTC
README
You can easily send SMS and fax using this package and your account information https://www.mr-sender.com.
Installation
You can install the package via composer:
composer require aksoftware/mr-sender-wrapper
Usage
use AKSoftware\MrSenderWrapper\Sms; use AKSoftware\MrSenderWrapper\Fax; // create object class with originator option $aksoftwaresms = new Sms('<YOUR_USERNAME>', '<YOUR_PASSWORD>'); // set message and recipient with tracking their individual tracking number. $send = $aksoftwaresms->sendTextSms('<YOUR_SMS_MESSAGE>', 'RECIPIENT_NUMBER' ); //show result message echo $aksoftwaresms->getStatusMessage(); // create object class with originator option $aksoftwarefax = new Fax('<YOUR_USERNAME>', '<YOUR_PASSWORD>'); // set message and recipient with tracking their individual tracking number. $send = $aksoftwarefax->sendHtmlFax('<YOUR_HTML_MESSAGE>', 'RECIPIENT_NUMBER' ); //show result message echo $aksoftwarefax->getStatusMessage();