This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
You can install the package via composer:
composer require kimulisiraj/sms-speeda-mobile-php
$client = new \Kimulisiraj\SmsSpeedaMobile\SmsSpeedaMobile(
apiKey:"your-username",
apiSecret: "your-password",
);
$response = $client->send(
to: 2567xxxxxxxx,
mesage:'Hello, Kimulisiraj!'
)
return $response;
$response->getStatus(); // OK | FAILED
$response->getMessage(); // Message sent successfully
$response->hasError(); // true | false
$response->getMessageId(); // I.E 12345
$client = Kimulisiraj\SmsSpeedaMobile::config([
'apiKey' => 'your-api-key', //You can set and use env('SPEEDAMOBILE_SMS_API_ID')
'apiPassword' => 'your-api-password', ////You can set and use env('SPEEDAMOBILE_SMS_API_PASSWORD')
]);
$response = $client->mesage('Hello, Kimulisiraj!')
->to('2567xxxxxxxx')
->send();
return $response
$client = new \Kimulisiraj\SmsSpeedaMobile\SmsSpeedaMobile(
apiKey:"your-username",
apiSecret: "your-password",
);
$client->getBalance() // ['BalanceAmount' => 1000, 'CurrenceCode' => 'UGX'],
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.