PHPackages                             cynobit/crediborg-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. [Payment Processing](/categories/payments)
4. /
5. cynobit/crediborg-client

ActiveLibrary[Payment Processing](/categories/payments)

cynobit/crediborg-client
========================

PHP library for consuming CrediBorg APIs

0.1.0(5y ago)03MITPHPPHP &gt;=7.1.3CI failing

Since Jul 22Pushed 5y agoCompare

[ Source](https://github.com/crediborg/crediborg-php-client)[ Packagist](https://packagist.org/packages/cynobit/crediborg-client)[ Docs](https://crediborg.cynobit.com)[ RSS](/packages/cynobit-crediborg-client/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

[![build](https://github.com/crediborg/crediborg-php-client/workflows/build/badge.svg)](https://github.com/crediborg/crediborg-php-client/workflows/build/badge.svg) [![Coverage Status](https://camo.githubusercontent.com/82d9b1472d1939ece930d3961d307e402e3b883466df2ce456c9dcb8b7e80592/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6372656469626f72672f6372656469626f72672d7068702d636c69656e742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/crediborg/crediborg-php-client?branch=master) [![Packagist Downloads](https://camo.githubusercontent.com/0e262490749d77018a3fcea67a033622ade6c040cd96d35135aea0822ff1a576/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63796e6f6269742f6372656469626f72672d636c69656e743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0e262490749d77018a3fcea67a033622ade6c040cd96d35135aea0822ff1a576/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63796e6f6269742f6372656469626f72672d636c69656e743f7374796c653d666c61742d737175617265)

crediborg-php-client
====================

[](#crediborg-php-client)

PHP Client for the CrediBorg Service.

CrediBorg is a CREDIT Alert Processing Technology that listens for CREDIT Transaction Emails (Alerts) on your mailbox, processes them by extracting relevant information from it and running it accross customer generated invoices for a match and equally notifying your servers with relevant details via web hooks.

This is a PHP based Client Library to consume the Service (CrediBorg) APIs.

Go to [ for the full REST API documentation.](http://crediborg.cynobit-app.com/developers/doc)

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

[](#installation)

The CrediBorg PHP Client SDK is available on Packagist as cynobit/crediborg-client:

```
$ composer require cynobit/crediborg-client:dev-master
```

Usage
-----

[](#usage)

### Create Invoice

[](#create-invoice)

```
$amount = 75000;

$secret = ".....";
$token = "...";

$invoice = new CrediBorg\Invoice($amount);

$invoice->setCode('AHYT645623')
    ->setEmail('example@example.com');
    ->setCustomer([
        'first_name'  => 'John',
        'middle_name' => 'Alfred',
        'last_name'   => 'Doe'
    ])
    ->setMetaData([
        // Possible cart items or anything you want.
        'items' => [
            [
                'name'       => 'Raspberry Pi'
                'qty'        => 2,
                'unit_price' => 25000
            ],
            [
                'name'       => 'ESP32 Module'
                'qty'        => 20,
                'unit_price' => 2000
            ]
        ]
    ]);
$crediborg = new CrediBorg\CrediBorg($secret, $token);

$crediborg->createInvoice($invoice);

echo $invoice->getCode(); // Invoice Code
```

### Handle Event Payload at Configured WebHook

[](#handle-event-payload-at-configured-webhook)

```
$secret = ".....";
$token = "...";

$crediborg = new CrediBorg\CrediBorg($secret, $token);

$event = $crediborg->getEventPayload();

foreach ($event->getMatchedInvoices() as $invoice) {
    echo $invoice->code . PHP_EOL;
    foreach ($invoice->getMatchedTransactions() as $transaction) {
        echo $transaction->narration . PHP_EOL;
        echo $transaction->type . PHP_EOL;
        echo $transaction->amount . PHP_EOL;
    }
}
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2119d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42703777?v=4)[CynoBit](/maintainers/cynobit)[@cynobit](https://github.com/cynobit)

---

Top Contributors

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

---

Tags

crediborgcynobitpaymenttransferphppaymentinvoicetransfercrediborgcynobit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cynobit-crediborg-client/health.svg)

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

###  Alternatives

[atgp/factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

138825.5k3](/packages/atgp-factur-x)[yandex-money/yandex-money-sdk-php

Yandex.Money API SDK for PHP

105167.4k2](/packages/yandex-money-yandex-money-sdk-php)[omalizadeh/laravel-multi-payment

A driver-based laravel package for online payments via multiple gateways

491.1k](/packages/omalizadeh-laravel-multi-payment)[cryptonator/merchant-php-sdk

Cryptonator.com Merchant API SDK for PHP

2713.7k](/packages/cryptonator-merchant-php-sdk)[miracode/stripe-bundle

Symfony bundle to integrate Stripe PHP SDK. Ability to save Stripe objects in database using Doctrine.

1016.1k](/packages/miracode-stripe-bundle)

PHPackages © 2026

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