PHPackages                             keboola/billing-api-php-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. [API Development](/categories/api)
4. /
5. keboola/billing-api-php-client

ActiveLibrary[API Development](/categories/api)

keboola/billing-api-php-client
==============================

PHP Client for Keboola Connection Billing API

5.5.0(8mo ago)011.8k↓26.2%MITPHPPHP &gt;=8.2

Since Sep 10Pushed 8mo ago17 watchersCompare

[ Source](https://github.com/keboola/billing-api-php-client)[ Packagist](https://packagist.org/packages/keboola/billing-api-php-client)[ RSS](/packages/keboola-billing-api-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (23)Used By (0)

Billing API PHP Client [![Build Status](https://camo.githubusercontent.com/4eed47f5edacf1d9d0bedfa27439c14813d98d2e3ad4743d6a11165b90443a1d/68747470733a2f2f6465762e617a7572652e636f6d2f6b65626f6f6c612d6465762f62696c6c696e672d6170692d7068702d636c69656e742f5f617069732f6275696c642f7374617475732f6b65626f6f6c612e62696c6c696e672d6170692d7068702d636c69656e743f6272616e63684e616d653d6d61696e)](https://dev.azure.com/keboola-dev/billing-api-php-client/_build/latest?definitionId=89&branchName=main)
==========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#billing-api-php-client-)

PHP client for the Billing API ([API docs](https://keboolabillingapi.docs.apiary.io/#)).

Usage
-----

[](#usage)

```
composer require keboola/billing-api-php-client
```

```
use Keboola\BillingApi\Client;

$client = new Client(
    'http://billing.keboola.com/',
    'xxx-xxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
);
$credits = $client->getRemainingCredits();
var_dump($credits);
```

Run tests
---------

[](#run-tests)

- With the above setup, you can run tests:

    ```
    docker compose build
    docker compose run tests
    ```
- To run tests with local code use:

    ```
    docker compose run tests-local composer install
    docker compose run tests-local
    ```

License
-------

[](#license)

MIT licensed, see [LICENSE](./LICENSE) file.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance62

Regular maintenance activity

Popularity25

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~54 days

Total

21

Last Release

242d ago

Major Versions

0.1.1 → 1.0.02022-06-08

1.3.0 → 2.0.02022-10-17

2.0.0 → 3.0.02022-11-11

3.2.0 → 4.0.02024-01-02

4.1.0 → 5.0.02024-01-15

PHP version history (4 changes)0.1.0PHP &gt;=5.6

1.0.0PHP &gt;=7.4

3.2.0PHP &gt;=8.1

5.5.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/101dbf2551a0709ddab522f97669f13a2c4cc2d0a1e8d009f3af6ba80accb1a9?d=identicon)[Keboola](/maintainers/Keboola)

---

Top Contributors

[![ErikZigo](https://avatars.githubusercontent.com/u/1726727?v=4)](https://github.com/ErikZigo "ErikZigo (28 commits)")[![pepamartinec](https://avatars.githubusercontent.com/u/271753?v=4)](https://github.com/pepamartinec "pepamartinec (26 commits)")[![odinuv](https://avatars.githubusercontent.com/u/4319320?v=4)](https://github.com/odinuv "odinuv (17 commits)")[![tomasfejfar](https://avatars.githubusercontent.com/u/642928?v=4)](https://github.com/tomasfejfar "tomasfejfar (5 commits)")[![MiroCillik](https://avatars.githubusercontent.com/u/1488015?v=4)](https://github.com/MiroCillik "MiroCillik (3 commits)")[![romanbracinik](https://avatars.githubusercontent.com/u/6448364?v=4)](https://github.com/romanbracinik "romanbracinik (3 commits)")[![ujovlado](https://avatars.githubusercontent.com/u/419849?v=4)](https://github.com/ujovlado "ujovlado (3 commits)")[![ondrajodas](https://avatars.githubusercontent.com/u/12143866?v=4)](https://github.com/ondrajodas "ondrajodas (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/keboola-billing-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/keboola-billing-api-php-client/health.svg)](https://phpackages.com/packages/keboola-billing-api-php-client)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[api-platform/api-pack

A pack for API Platform

5236.7M40](/packages/api-platform-api-pack)

PHPackages © 2026

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