PHPackages                             ylorant/twitch-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. ylorant/twitch-php-client

ActiveLibrary[API Development](/categories/api)

ylorant/twitch-php-client
=========================

PHP client for Twitch's multiple APIs, easily extendable and embeddable.

2.2(1y ago)2340↓75%2MITPHPPHP &gt;=7.0.0CI failing

Since Jun 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ylorant/twitch-php-client)[ Packagist](https://packagist.org/packages/ylorant/twitch-php-client)[ RSS](/packages/ylorant-twitch-php-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (6)Versions (8)Used By (0)

Twitch PHP Client
=================

[](#twitch-php-client)

[![FOSSA Status](https://camo.githubusercontent.com/eef3bd94927760a4a4cad543ebca38bec95a1bad5604ce03bc27c5d8672da964/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246796c6f72616e742532467477697463682d7068702d636c69656e742e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fylorant%2Ftwitch-php-client?ref=badge_shield)

This library is a PHP client for the Twitch APIs. It will allow you to send requests to Twitch easily, using authentication or not, with a simple design that allows embedding into services. It also relies on as few PHP dependencies as possible, it only needs the cURL extension to be installed, and depends on `psr/log` for its LoggerInterface.

Compatibility : PHP 7.0+

*Note: this library is still quite incomplete API-wise. Those will be added progressively. You can still add functionality quite easily though by adding to the already existing endpoints or by creating missing endpoints. If then you want to contribute it back to the project, just do a pull request :)*

Install
-------

[](#install)

Using composer:

```
composer install ylorant/twitch-php-client

```

Basic usage (using Helix)
-------------------------

[](#basic-usage-using-helix)

For more info about token providers and authentication, see the next section.

```
