PHPackages                             nateritter/atrium-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. nateritter/atrium-php

ActiveProject[API Development](/categories/api)

nateritter/atrium-php
=====================

A PHP wrapper for the MX Atrium API.

v0.1.2(7y ago)01.3kMITPHPPHP &gt;=7.0.0

Since Dec 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nateritter/atrium-php)[ Packagist](https://packagist.org/packages/nateritter/atrium-php)[ RSS](/packages/nateritter-atrium-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

Atrium-PHP
==========

[](#atrium-php)

A PHP wrapper for the [MX Atrium API](https://atrium.mx.com). In order to make requests, you will need to [sign up for the MX Atrium API](https://atrium.mx.com/developers/sign_up) and get a `MX-API-KEY` and a `MX-CLIENT-ID`.

### Installation

[](#installation)

Use Composer or Yarn to add the library to your application:

```
composer install nateritter/atrium-php

```

or

```
yarn add nateritter/atrium-php

```

### Usage

[](#usage)

Use the `atrium` module in your source code with the following

```
use NateRitter\AtriumPHP\AtriumClient;
```

Then configure your instance with the following. (The `ENVIRONMENT` will be either `vestibule.mx.com` for the development environment or `atrium.mx.com` for the production environment.)

```
$atriumClient = new AtriumClient('ENVIRONMENT', 'YOUR_MX_API_KEY', 'YOUR_MX_CLIENT_ID');
```

Then start using class methods to make calls to the Atrium API for data. See the full [Atrium documentation](https://atrium.mx.com/documentation) for more details.

```
# use AtriumClient wrapper class
use NateRitter\AtriumPHP\AtriumClient;

# Configure AtriumClient
$atriumClient = new AtriumClient('ENVIRONMENT', 'YOUR_MX_API_KEY', 'YOUR_MX_CLIENT_ID');

# Now begin making Atrium calls
$atriumClient->createUser(['identifier' => 'UniqueID']); # Create a user, etc...
```

### Examples

[](#examples)

The `/examples` directory contains various workflows and code snippets. You will first need to modify the line shown below in each example with the environment, YOUR-MX-API-KEY, and YOUR-MX-CLIENT-ID before running.

```
$atriumClient = new AtriumClient('ENVIRONMENT', 'YOUR_MX_API_KEY', 'YOUR_MX_CLIENT_ID');
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~173 days

Total

3

Last Release

2769d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/198798?v=4)[Nate Ritter](/maintainers/nateritter)[@nateritter](https://github.com/nateritter)

---

Top Contributors

[![nateritter](https://avatars.githubusercontent.com/u/198798?v=4)](https://github.com/nateritter "nateritter (23 commits)")

---

Tags

apiwrapperatrium

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nateritter-atrium-php/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.6k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

617.2M37](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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