PHPackages                             prefixaut/kamui - 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. prefixaut/kamui

AbandonedArchivedLibrary[API Development](/categories/api)

prefixaut/kamui
===============

A Wrapper for the Twitch-API in PHP

13[1 issues](https://github.com/prefixaut/Kamui/issues)PHP

Since Aug 13Pushed 8y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Packagist](https://camo.githubusercontent.com/8a43833619701b4c7c45693632567d43a8f4aec978c11abba93f5799fe8cbcd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7072656669786175742f6b616d75692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prefixaut/kamui)[![GitHub release](https://camo.githubusercontent.com/2e76f9bc3e40b508f6fe2ce2de65d5a736cd33783e87c63807def6829bd675b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7072656669786175742f6b616d75692e7376673f7374796c653d666c61742d737175617265)](https://github.com/prefixaut/Kamui/releases)[![Travis](https://camo.githubusercontent.com/2677fe73447acb06285387bc99aa7e8dbad5c4acae57ad08a1f3cff3d4b0bee4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7072656669786175742f6b616d75692e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/prefixaut/Kamui)[![SensioLabs Insight](https://camo.githubusercontent.com/7221927919fafa2bc71bfcef41d2ae6956398d815e2de1d54cf40792d935846a/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f64393633373562302d396437372d343930662d393335342d6534386430396432346132612e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/d96375b0-9d77-490f-9354-e48d09d24a2a)[![License](https://camo.githubusercontent.com/0d3f4ae9bee15086469457605f01fe5207605a7d10932f3f51a684b53ee25359/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7072656669786175742f6b616d75692e7376673f7374796c653d666c61742d737175617265)](https://github.com/prefixaut/Kamui/blob/master/LICENSE)

Kamui
=====

[](#kamui)

> A PHP-Wrapper for the Twitch API (Kraken)

Kamui is a complete Wrapper for the Twitch API which allows you to easily use it. Currently it's supporting the most up to date version of the API (v5).

Install
-------

[](#install)

The best way to install Kamui is using [Composer](https://getcomposer.org):

```
composer require prefixaut/kamui

```

Usage
-----

[](#usage)

Using the API is really easy as it orientates a lot on the structure of the Original API. Example usage:

```
use Kamui\API;
$api = new API($my_twitch_token);
$api->users->follows('prefixaut'); // Will give you a List of all Channels I follow
```

Every function simply returns the original content of the Resource as Objects. If any error occurs, it'll simply return false to prevent accidental breaks. You can also use all Objects however you like them within the API like so:

```
$cool_dude = $api->users->get('prefixaut');
$api->users->follows($cool_dude);
$api->users->follows($cool_dude->_id);
```

The `follows`-Function would return the exact same thing since it's still the same user. This allows you to easily drop in whatever you want and focus on more important stuff.

Testing
-------

[](#testing)

Kamui is using [PHPUnit-Tests](https://phpunit.de). The best way to run them is to install it along with Composer. When it's setup, run `phpunit` on the root of the Project.

[Twitch-Emotes](https://www.twitchemotes.com/)
----------------------------------------------

[](#twitch-emotes)

This Project is using the API from Twitch-Emotes to allow you an easier usage of them. Example use of them is:

```
$api->feed->reactToPost($user, $post, 'Kappa');
```

License
-------

[](#license)

This Project is licensed under the MIT-License. Read the LICENSE-File inside this Project for more information.

> Sidenote: The Projects name comes from 'Akkorokamui'. Google it up, too lazy to explain stuff

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3eac22980971b3b255f38169db46b8a3c5a40c19c0b4cfa823c6bbce7f88ca81?d=identicon)[prefixaut](/maintainers/prefixaut)

---

Tags

composerphptwitchtwitch-api-v5twitchtv

### Embed Badge

![Health badge](/badges/prefixaut-kamui/health.svg)

```
[![Health](https://phpackages.com/badges/prefixaut-kamui/health.svg)](https://phpackages.com/packages/prefixaut-kamui)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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