PHPackages                             ahmard/cbs-client - 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. ahmard/cbs-client

ActiveLibrary

ahmard/cbs-client
=================

CBS(Central Billing System) Client

1.0.2(4y ago)011PHPPHP ^7.4 || ^8.0

Since Apr 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Ahmard/cbs-client)[ Packagist](https://packagist.org/packages/ahmard/cbs-client)[ RSS](/packages/ahmard-cbs-client/feed)WikiDiscussions master Synced 1mo ago

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

CBS Client
==========

[](#cbs-client)

Central Billing System(CBS) Client.

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

[](#installation)

```
composer require ahmard/cbs-client

```

Usage
-----

[](#usage)

```
use CBS\Client\Invoice;

require 'vendor/autoload.php';

$clientId = '';
$clientSecret = '';

$invoice = Invoice::create($clientId, $clientSecret)
        ->revenueHeadId(16)
        ->amount(3455)
        ->invoiceDescription('Payment Description')
        ->categoryId(1)
        ->endpoint('')
        ->callBackUrl('http://tatsuniya.test/webhook')
        ->requestReference(uniqid())
        ->phoneNumber('07035636394')
        ->address('Malumfashi')
        ->email('gizo@tatsuniya.test')
        ->recipient('Gizon Tastuniya')
        ->execute();

if ($invoice->isSuccess()){
    header("Location: {$invoice->paymentURL()}");
}else{
    echo $invoice->getResponse()->getBody()->getContents();
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

1808d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b69fe34bd6492697a19cd8f33bde7a381cab0b7f8c0a01dcc7505f482458887?d=identicon)[Ahmard](/maintainers/Ahmard)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ahmard-cbs-client/health.svg)

```
[![Health](https://phpackages.com/badges/ahmard-cbs-client/health.svg)](https://phpackages.com/packages/ahmard-cbs-client)
```

PHPackages © 2026

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