PHPackages                             knox/africastalking - 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. [API Development](/categories/api)
4. /
5. knox/africastalking

ActiveLibrary[API Development](/categories/api)

knox/africastalking
===================

A Laravel Implementation of the Africa's Talking API

v1.4.1(4y ago)11.8k1MITPHP

Since Jun 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/knox2/africastalking)[ Packagist](https://packagist.org/packages/knox/africastalking)[ RSS](/packages/knox-africastalking/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (7)Used By (0)

AfricasTalking Laravel Package
==============================

[](#africastalking-laravel-package)

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

[](#installation)

```
composer require knox/africastalking

```

Config
------

[](#config)

Get the below details from africastalking

```
AFT_APIKEY=apikey
AFT_USERNAME=username

```

Usage
-----

[](#usage)

### Sending SMS

[](#sending-sms)

#### Without sender ID

[](#without-sender-id)

Params:

```
use AFT;
AFT::sendMessage($phone_number, $message);

```

#### With sender ID

[](#with-sender-id)

Params:

```
use AFT;
AFT::sendMessage($phone_number, $message, 'Sender ID');

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~426 days

Recently: every ~532 days

Total

6

Last Release

1541d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16401?v=4)[Mickey](/maintainers/knox)[@knox](https://github.com/knox)

---

Top Contributors

[![knox2](https://avatars.githubusercontent.com/u/2101866?v=4)](https://github.com/knox2 "knox2 (7 commits)")

### Embed Badge

![Health badge](/badges/knox-africastalking/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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