PHPackages                             checkmango/php-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. checkmango/php-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

checkmango/php-sdk
==================

The PHP SDK for Checkmango

v1.0.0(2y ago)32.2k↓66.7%1MITPHPPHP ^7.3 || ^8.0

Since Feb 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/checkmango/php-sdk)[ Packagist](https://packagist.org/packages/checkmango/php-sdk)[ Docs](https://github.com/checkmango/php-sdk)[ GitHub Sponsors](https://github.com/jbrooksuk)[ RSS](/packages/checkmango-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (14)Versions (3)Used By (0)

Checkmango PHP SDK
==================

[](#checkmango-php-sdk)

This project is heavily inspired by [Graham Campbell's](https://github.com/GrahamCampbell) packages; [Bitbucket](https://github.com/BitbucketPHP/Client) and [GitLab](https://github.com/GitLabPHP/Client).

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

[](#installation)

This version supports PHP 7.2-8.2. To get started, require the project using [Composer](https://getcomposer.org). You will also need to install packages that provide [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).

### Standard Installation

[](#standard-installation)

```
composer require "checkmango/php-sdk:dev-master" "guzzlehttp/guzzle:^7.2" "http-interop/http-factory-guzzle:^1.0"
```

### Laravel Installation

[](#laravel-installation)

```
composer require "checkmango/laravel:dev-master" "guzzlehttp/guzzle:^7.2" "http-interop/http-factory-guzzle:^1.0"
```

Usage
-----

[](#usage)

```
// Authentication
$client = new Checkmango\Client();
$client->authenticate('your_api_token');

// Example API Call
$experiment = $client->teams($teamId)->experiments()->show('EXPERIMENT_KEY');

$client->teams($teamId)->ingest()->store('EXPERIMENT_KEY', 'PARTICIPANT_KEY', 'VARIANT_KEY'); // Track impression
$client->teams($teamId)->ingest()->store('EXPERIMENT_KEY', 'PARTICIPANT_KEY', 'VARIANT_KEY', 'EVENT_KEY'); // Track conversion
```

### Example with Pager

[](#example-with-pager)

The `Pager` class allows you to easily retrieve all results across multiple pages of results.

```
$pager = new Checkmango\ResultPager($client);
$experiments = $pager->fetchAll($client->teams($teamId)->experiments(), 'all');
```

Security
--------

[](#security)

If you discover a security vulnerability within this package, please email James Brooks at . All security vulnerabilities will be promptly addressed. You may view our full security policy [here](https://github.com/checkmango/php-sdk/security/policy).

License
-------

[](#license)

Checkmango PHP SDK is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.5% 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 ~609 days

Total

2

Last Release

950d ago

Major Versions

v0.1.0 → v1.0.02023-10-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e4934b15ff7d8cffabece955994bed29b31429f4c2e8f13fa0868c753bb1c30?d=identicon)[jbrooksuk](/maintainers/jbrooksuk)

---

Top Contributors

[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (34 commits)")[![joedixon](https://avatars.githubusercontent.com/u/3438564?v=4)](https://github.com/joedixon "joedixon (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

ab-testingcheckmango

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/checkmango-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/checkmango-php-sdk/health.svg)](https://phpackages.com/packages/checkmango-php-sdk)
```

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9485.4M64](/packages/m4tthumphrey-php-gitlab-api)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[anthropic-ai/sdk

Anthropic PHP SDK

129134.7k5](/packages/anthropic-ai-sdk)

PHPackages © 2026

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