PHPackages                             caxy/badgekit-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. caxy/badgekit-client

ActiveLibrary[API Development](/categories/api)

caxy/badgekit-client
====================

Client for Mozilla BadgeKit API

017PHP

Since May 12Pushed 10y ago3 watchersCompare

[ Source](https://github.com/caxy/badgekit-client)[ Packagist](https://packagist.org/packages/caxy/badgekit-client)[ RSS](/packages/caxy-badgekit-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

BadgeKit Client
===============

[](#badgekit-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6df87b1af5f26fec7406bf8f9d8d8c271ebf2b701f0d2b487cba6325b09b49e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636178792f62616467656b69742d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caxy/badgekit-client)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/740a825abdf79c37dc288c7611e8df9c6e50f557f86c5cf59ee3fb25c32104e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636178792f62616467656b69742d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caxy/badgekit-client)

Here is a PHP client for Mozilla's [BadgeKit API](https://github.com/mozilla/badgekit-api).

Install
-------

[](#install)

Via Composer

```
$ composer require caxy/badgekit-client
```

Usage
-----

[](#usage)

```
$client = new GuzzleHttp\Client([
  'base_uri' => 'https://badgekit.example.com'
]);
$middleware = new Caxy\BadgeKit\JwtMiddleware('MASTER_SECRET_FROM_BADGEKIT');

$stack = $client->getConfig('handler');
$stack->push(GuzzleHttp\Middleware::mapRequest($middleware));

$serviceClient = new Caxy\BadgeKit\ServiceClient($client);
$command = $serviceClient->getCommand('get_reviews', [
  'system' => 'example',
  'application' => '235f684c5e5f88f1575434403adc2562',
  'badge' => 'a-groovy-badge',
]);
$result = $serviceClient->execute($command);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Benjamin Doherty](https://github.com/bangpound) of [Caxy Consulting](https://github.com/caxy)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

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.

### Community

Maintainers

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

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/caxy-badgekit-client/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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