PHPackages                             kimulisiraj/sms-speeda-mobile-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. kimulisiraj/sms-speeda-mobile-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kimulisiraj/sms-speeda-mobile-php
=================================

Send SMS using speed mobile api

1.0(3y ago)11.4k1[1 PRs](https://github.com/kimulisiraj/sms-speeda-mobile-php/pulls)MITPHPPHP ^8.1CI passing

Since Feb 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/kimulisiraj/sms-speeda-mobile-php)[ Packagist](https://packagist.org/packages/kimulisiraj/sms-speeda-mobile-php)[ Docs](https://github.com/kimulisiraj/sms-speeda-mobile-php)[ GitHub Sponsors](https://github.com/kimulisiraj)[ RSS](/packages/kimulisiraj-sms-speeda-mobile-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Send SMS using speed mobile api
===============================

[](#send-sms-using-speed-mobile-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e9c47a329d2ffec06c079f88edfbefe2596974c7dac59f63d91c10b9758a9700/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b696d756c69736972616a2f736d732d7370656564612d6d6f62696c652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kimulisiraj/sms-speeda-mobile-php)[![Tests](https://github.com/kimulisiraj/sms-speeda-mobile-php/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/kimulisiraj/sms-speeda-mobile-php/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/b13cee1e7820f1941d496052ab43fe6d8c00ddb15fd9e6ab85dcc217b7c0ed6d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b696d756c69736972616a2f736d732d7370656564612d6d6f62696c652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kimulisiraj/sms-speeda-mobile-php)

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require kimulisiraj/sms-speeda-mobile-php
```

Usage
-----

[](#usage)

### Send single message

[](#send-single-message)

```
$client = new \Kimulisiraj\SmsSpeedaMobile\SmsSpeedaMobile(
    apiKey:"your-username",
    apiSecret: "your-password",
);

$response = $client->send(
    to: 2567xxxxxxxx,
    mesage:'Hello, Kimulisiraj!'
)
return $response;
```

### From the response you can access:

[](#from-the-response-you-can-access)

```
$response->getStatus(); // OK | FAILED
$response->getMessage(); // Message sent successfully
$response->hasError(); // true | false
$response->getMessageId(); // I.E 12345
```

### Chaining

[](#chaining)

```
$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
```

### Query Delivery Report / Message Status

[](#query-delivery-report--message-status)

```
  $client = new \Kimulisiraj\SmsSpeedaMobile\SmsSpeedaMobile(
        apiKey:"your-username",
        apiSecret: "your-password"
        );

 $response = $client->messageStatus(
             messageId: 'xxxxxxx' //Message ID You Received at The Time of Submit E.G 4234
             );
return response()->json([
        'messageId' => $response->getMessageId(),
        'phoneNumber' => $response->getPhoneNumber(),
        'messageBody' => $response->getMessageBody(),
        'MessageType' => $response->getMessageType(),
        'messageLength' => $response->getMessageLength(),
        'messageParts' => $response->getMessageParts(),
        'messageCost' => $response->getMessageCost(),
        'deliveryStatus' => $response->getDeliveryStatus(),
        'uniqueId' => $response->getUniqueId(),
        'errorCode' => $response->getErrorCode(),
        'errorDescription' => $response->getErrorDescription(),
        'sentDateTime' => $response->getSentDateTime(),
        'remarks' => $response->getRemarks(),
    ]);
```

### From the response you can access:

[](#from-the-response-you-can-access-1)

```
$response->getMessageId(), // Message ID of the request
$response->getPhoneNumber(), // Phone Number to which message was sent
$response->getMessageBody(), // Text of the SMS message
$response->getMessageType(), // Message Encoding
$response->getMessageLength(), // Length of Message
$response->getMessageParts(), // No of Message parts
$response->getMessageCost(), // Amount Deducted from account
$response->getDeliveryStatus(), // Delivery Status Can Be One Of the following (Pending, Delivered, Undeliverable, Acknowledged, Expired, Accepted, Rejected, Unknown, Failed, DND)
$response->getUniqueId(), // Carrier Generated SMS ID
$response->getErrorCode(), // Error Code If Any
$response->getErrorDescription(), // Error Description If Any
$response->getSentDateTime(), // SMS Sent Date Time in UTC (Universal TimeCoordinate)
$response->getRemarks(), // Remarks for the Request
```

### Get balance

[](#get-balance)

```
  $client = new \Kimulisiraj\SmsSpeedaMobile\SmsSpeedaMobile(
    apiKey:"your-username",
    apiSecret: "your-password",
);

$client->getBalance(); // ['BalanceAmount' => 1000, 'CurrenceCode' => 'UGX'],
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Siraj Kimuli](https://github.com/kimulisiraj)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance60

Regular maintenance activity

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~173 days

Total

2

Last Release

1378d ago

Major Versions

0.5.0 → 1.02022-08-03

PHP version history (2 changes)0.5.0PHP ^8.0

1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0c118895239b04d0ec5c1182d4c76d1057ff386f26ef3f1e806a03e4e94498d?d=identicon)[kimulisiraj](/maintainers/kimulisiraj)

---

Top Contributors

[![kimulisiraj](https://avatars.githubusercontent.com/u/8648780?v=4)](https://github.com/kimulisiraj "kimulisiraj (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")[![macdanson](https://avatars.githubusercontent.com/u/44835839?v=4)](https://github.com/macdanson "macdanson (8 commits)")

---

Tags

phpsmssms-apisms-clientsms-onespeedamobilesmssms-clientkimulisirajsms-speeda-mobile-php

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kimulisiraj-sms-speeda-mobile-php/health.svg)

```
[![Health](https://phpackages.com/badges/kimulisiraj-sms-speeda-mobile-php/health.svg)](https://phpackages.com/packages/kimulisiraj-sms-speeda-mobile-php)
```

###  Alternatives

[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[minchao/every8d-php

A EVERY8D SMS SDK for PHP (Unofficial)

1239.9k1](/packages/minchao-every8d-php)[ender/yunpian-sms

A php SDK for yunpian(云片网络短信服务商) sms RESTFULL API

294.9k](/packages/ender-yunpian-sms)[mediumart/orange-sms

A php library to interact with the orange sms api for MiddleEast and Africa.

1311.1k1](/packages/mediumart-orange-sms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
