PHPackages                             philipnjuguna/advanta - 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. philipnjuguna/advanta

ActiveLibrary

philipnjuguna/advanta
=====================

Advanta sms sdk for laravel

1.0.0.4(3mo ago)12031MITPHP

Since Jan 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/philipnjuguna66/advanta)[ Packagist](https://packagist.org/packages/philipnjuguna/advanta)[ RSS](/packages/philipnjuguna-advanta/feed)WikiDiscussions master Synced 1mo ago

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

ADVANTA AFRICA SMS PHP SDK
==========================

[](#advanta-africa-sms-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/a16c1513814f6e781abfa84db08c1d23c461d749248141462427022e3440ab93/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068696c69706e6a7567756e612f616476616e7461)](https://packagist.org/packages/philipnjuguna/advanta)[![Total Downloads](https://camo.githubusercontent.com/2da99f3367e9da1d23722b3ecf8b7c46e9da7d42d7bffb08d2d76e408b6906db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7068696c69706e6a7567756e6136362f616476616e7461)](https://packagist.org/packages/philipnjuguna/advanta)[![Total Downloads](https://camo.githubusercontent.com/fa3f26b6c48db43bd886306c42e5c2ff81947f2ded5c1556bd9b6fe63e370427/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068696c69706e6a7567756e612f616476616e74613f636f6c6f723d677265656e)](https://packagist.org/packages/philipnjuguna/advanta)

> This SDK provides convenient access to the Advanta Africa sms API for applications written in PHP.

Documentation
-------------

[](#documentation)

Take a look at the [API docs here](https://www.advantasms.com/bulksms-api).

Install
-------

[](#install)

You can install the PHP SDK via composer or by downloading the source

#### Via Composer

[](#via-composer)

The recommended way to install the SDK is with [Composer](http://getcomposer.org/).

```
composer require philipnjuguna/advanta
```

Configuration At your project root, create a .env file and in it set the PARTNER ID , API KEY and SHORT CODE as follows

```
ADVANTA_PARTNER_ID=
ADVANTA_API_KEY=
ADVANTA_SHORT_CODE=

```

Usage
-----

[](#usage)

The SDK needs to be instantiated using API key, which you can get from the [dashboard](https://www.advantasms.com/bulksms-api).

```
use PhilipNjuguna\Advanta\AdvantaSMS;

$advanta       = (new AdvantaSMS())->sendMessage($mobile, $message);

// Use the service
$result   =  (new AdvantaSMS())->sendMessage('2XXYYYOOO',"message");

// Use the service for laravel
$result   =  \PhilipNjuguna\Advanta\AdvantaFacade::sendMessage("254700123456","message");

// For scheduled message add time as the third variable
$result   =  \PhilipNjuguna\Advanta\AdvantaFacade::sendMessage("254700123456","message", \Carbon\Carbon::now()->addRealMinutes(10));

print_r($result);
```

Delivery Report
---------------

[](#delivery-report)

To read message delivery report;

```
(new AdvantaSMS())->getDelivery($messageId);
```

### Result

[](#result)

```
{
"response-code": 200,
"message-id": "89999",
"response-description": "Success",
"delivery-status": 32,
"delivery-description": "DeliveredToTerminal",
"delivery-tat": "6s",
"delivery-networkid": 1,
"delivery-time": "2020-02-16 10:15:13"
}
```

Balance Report
--------------

[](#balance-report)

To request account balance;

```
(new AdvantaSMS())->getBalance();
```

### Result

[](#result-1)

```
{
  "response-code": 200,
  "credit": "800.00",
  "partner-id": "XXXX"
}
```

Issues
------

[](#issues)

If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/philipnjuguna66/advanta/issues).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance81

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

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 ~368 days

Recently: every ~460 days

Total

6

Last Release

103d ago

Major Versions

v0.0.1-alpha → 1.0.0.22021-02-16

### Community

Maintainers

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

---

Top Contributors

[![philkiangai](https://avatars.githubusercontent.com/u/15139817?v=4)](https://github.com/philkiangai "philkiangai (20 commits)")[![philipnjuguna66](https://avatars.githubusercontent.com/u/25553923?v=4)](https://github.com/philipnjuguna66 "philipnjuguna66 (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/philipnjuguna-advanta/health.svg)

```
[![Health](https://phpackages.com/badges/philipnjuguna-advanta/health.svg)](https://phpackages.com/packages/philipnjuguna-advanta)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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