PHPackages                             almostinteractive/mixer-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. almostinteractive/mixer-php-client

ActiveLibrary[API Development](/categories/api)

almostinteractive/mixer-php-client
==================================

A PHP client for Mixer.com OAuth and APIs

v0.1.1(6y ago)020MITPHPPHP &gt;=7.1.0

Since Aug 26Pushed 6y ago1 watchersCompare

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

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

mixer-php-client
================

[](#mixer-php-client)

A PHP 7.1 library for interfacing with the Mixer.com API.

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

[](#installation)

`composer require almostinteractive/mixer-php-client`

Usage Example
-------------

[](#usage-example)

```
$mixerGuzzleClient = new MixerGuzzleClient('MY_CLIENT_ID');
$apiClient = new MixerApi('MY_CLIENT_ID', 'MY_CLIENT_SECRET', $mixerGuzzleClient);

$scope = [
    'channel:analytics:self',
    'channel:details:self',
    'user:details:self'
];
$scope = implode('%20', $scope);
$authUrl = $apiClient->getOauthApi()->getAuthUrl('http://localhost/callback.php', 'code', $scope, true, null);

$response = $apiClient->getOauthApi()->getUserAccessToken($code, 'http://localhost/callback.php');
$token = json_decode($response->getBody()->getContents(), true);
$accessToken = $token['access_token'];
$refreshToken = $token['refresh_token'];

$response = $apiClient->getUsersApi()->getUserByAccessToken($accessToken);
$userData = json_decode($response->getBody()->getContents(), true);
```

Notes from the Author
---------------------

[](#notes-from-the-author)

I plan on only adding the endpoints as I need them. Pull requests welcome. Requests will be duly considered.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

2501d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3893631?v=4)[Steven J](/maintainers/AlmostInteractive)[@AlmostInteractive](https://github.com/AlmostInteractive)

---

Top Contributors

[![AlmostInteractive](https://avatars.githubusercontent.com/u/3893631?v=4)](https://github.com/AlmostInteractive "AlmostInteractive (27 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/almostinteractive-mixer-php-client/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M966](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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