PHPackages                             camoo/airtime - 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. camoo/airtime

AbandonedLibrary[API Development](/categories/api)

camoo/airtime
=============

CAMOO API Packages

2.0.4(8y ago)224MITPHP

Since May 28Pushed 8y agoCompare

[ Source](https://github.com/camoo/Airtime)[ Packagist](https://packagist.org/packages/camoo/airtime)[ Docs](https://camoo.cm)[ RSS](/packages/camoo-airtime/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (3)Versions (4)Used By (0)

Airtime
=======

[](#airtime)

PHP API for Mobile phone TOPUP [![N|Solid](https://camo.githubusercontent.com/9509f29825d8876bd3e17cc7b9b30a541309d56f332f6786cbea18580557aac9/68747470733a2f2f7777772e63616d6f6f2e636d2f696d672f69636f6e2f63616d6f6f5f6c6f676f5f74686f6d312e706e67)](https://www.camoo.cm/)

PHP TOPUP API via the ***CAMOO AIRTIME gateway***

Requirement
-----------

[](#requirement)

This library needs minimum requirement for doing well on run.

- [Sign up](https://www.camoo.cm/join) for a free CAMOO account
- Ask CAMOO Team for new access\_key for developers
- CAMOO TOPUP API client for PHP requires version 5.5.x and above

Installation via Composer
-------------------------

[](#installation-via-composer)

Package is available on [Packagist](https://packagist.org/packages/camoo/airtime), you can install it using [Composer](http://getcomposer.org).

```
composer require camoo/airtime
```

Quick Examples

1. Get available general info about destination msisdn

```
require_once dirname(dirname(dirname(__DIR__))) . '/autoload.php';
// set api_key and secret_key
$oAirtime = new \CAMOO\Airtime\Airtime('592595095gh57', '4e32da5979879b89479847b9798479494984');

// receiver recipient
$oAirtime->destination_msisdn='237671234567';
#Retrieve MsisdnInfo
$ohMsisdnInfo = $oAirtime->getMsisdnInfo();
```

2. Check available topup list and wholsale price list

```
  $sTopupList = $ohMsisdnInfo->msisdn_info->topup_list;
  // your prices for each topup product
  $sWholeSalePriceList = $ohMsisdnInfo->msisdn_info->wholesale_price_list;
```

3. Choose a topup amount from the key topup\_list and send airtime

```
// airtime from
$oAirtime->msisdn= '237661562859';
// airtime product
$oAirtime->topup=100;
var_dump($oAirtime->send());
```

Running Tests
-------------

[](#running-tests)

Assuming you have PHPUnit installed system wide using one of the methods stated [here](https://phpunit.de/manual/current/en/installation.html), you can run the tests for CAMOO/Aitime by doing the following:

1. Go to library root `cd vendor/camoo/airtime`
2. Copy `phpunit.xml.dist` to `phpunit.xml`.
3. Run `phpunit tests`.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 62.1% 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 ~0 days

Total

3

Last Release

3273d ago

### Community

Maintainers

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

---

Top Contributors

[![epinett](https://avatars.githubusercontent.com/u/16965658?v=4)](https://github.com/epinett "epinett (18 commits)")[![camoo](https://avatars.githubusercontent.com/u/24289021?v=4)](https://github.com/camoo "camoo (11 commits)")

---

Tags

airtimeTopupCAMOO

### Embed Badge

![Health badge](/badges/camoo-airtime/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[africastalking/africastalking

Official Africa's Talking PHP SDK

122557.6k10](/packages/africastalking-africastalking)[fschmtt/keycloak-rest-api-client-php

PHP client to interact with Keycloak's Admin REST API.

4684.7k2](/packages/fschmtt-keycloak-rest-api-client-php)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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