PHPackages                             affinitylicensing/affinity-api-php - 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. affinitylicensing/affinity-api-php

ActiveLibrary[API Development](/categories/api)

affinitylicensing/affinity-api-php
==================================

PHP Library for Affinity API

1.0(8y ago)04.6kMITPHP

Since Jun 23Pushed 8y ago2 watchersCompare

[ Source](https://github.com/affinitylicensing/affinity-api-php)[ Packagist](https://packagist.org/packages/affinitylicensing/affinity-api-php)[ Docs](https://affinity-gateway.com)[ RSS](/packages/affinitylicensing-affinity-api-php/feed)WikiDiscussions master Synced 1mo ago

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

Affinity PHP API SDK
====================

[](#affinity-php-api-sdk)

[![Build Status](https://camo.githubusercontent.com/be1153b05a1b922edc03bb4a4865c523862695b5517c1364ea8baffa1e3f7330/68747470733a2f2f7472617669732d63692e6f72672f616666696e6974796c6963656e73696e672f616666696e6974792d6170692d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/affinitylicensing/affinity-api-php)[![Coverage Status](https://camo.githubusercontent.com/2dad991056e2b9d3923d27e5e2df12b5d54016725ee756e822ebba26d4cd7d1b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616666696e6974796c6963656e73696e672f616666696e6974792d6170692d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/affinitylicensing/affinity-api-php?branch=master)

This library is a PHP client for the Affinity API. To sign up for API access please contact us at .

Requirements
------------

[](#requirements)

This requires PHP 5.4 or later, and Guzzle 6.2 or later.

Composer
--------

[](#composer)

You can install this library via [Composer](http://getcomposer.org/). Run the following command:

```
composer require affinitylicensing/affinity-api-php
```

To use the library, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

API Documentation
-----------------

[](#api-documentation)

[API documentation is located here](https://github.com/affinitylicensing/affinity-api-docs/tree/master/docs).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

Unknown

Total

1

Last Release

3242d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7885f07433b8b82647421d38d3c734fd7ec727e53609294685e9733746b096ce?d=identicon)[chrishaffinity](/maintainers/chrishaffinity)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/affinitylicensing-affinity-api-php/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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