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 6d 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

Maturity44

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

2456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1699999390c63a604fc80eafb1c353bdabc66d1ac391442ee6da0c03a1702a9?d=identicon)[AlmostInteractive](/maintainers/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

[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)
