PHPackages                             michaelgarrez/twitch-alerts-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. michaelgarrez/twitch-alerts-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

michaelgarrez/twitch-alerts-sdk
===============================

Twitch Alerts SDK

v1.0.0(10y ago)517MITPHP

Since Jan 19Pushed 10y ago4 watchersCompare

[ Source](https://github.com/Babacooll/twitch-alerts-sdk)[ Packagist](https://packagist.org/packages/michaelgarrez/twitch-alerts-sdk)[ RSS](/packages/michaelgarrez-twitch-alerts-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Twitch Alerts SDK
=================

[](#twitch-alerts-sdk)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/05af4f397f153544945c2018005d7f2cc92d202b82946686c32075db6d0b23a6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616261636f6f6c6c2f7477697463682d616c657274732d73646b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Babacooll/twitch-alerts-sdk/?branch=master)[![Build Status](https://camo.githubusercontent.com/90262b121831c3191e0c417db503b5323afabbcc969222c06c1d28bafc297957/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616261636f6f6c6c2f7477697463682d616c657274732d73646b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Babacooll/twitch-alerts-sdk/build-status/master)[![SensioLabsInsight](https://camo.githubusercontent.com/9ac505621fd2a5ab23cfe1b208286e9e7554459ace952d988bcf902ad366b739/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37363731633837312d613837302d343133342d386637662d3134343335633166656331352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/7671c871-a870-4134-8f7f-14435c1fec15)

Introduction
------------

[](#introduction)

This library eases the use of the Twitch Alerts API. The current version is built to work with the v1.0 of Twitch Alerts API.

How to use
----------

[](#how-to-use)

You first have to register your application with Twitch Alerts, to do this, go on this URL :

[--&gt; Register your application](http://www.twitchalerts.com/oauth/apps/register)

Then you can use the API Wrapper knowing your client\_id, client\_secret and redirect\_uri parameters.

Twitch API uses OAuth 2.0 to handle user authentication. This library helps you to handle the authentication process as well.

### User Authentication

[](#user-authentication)

You will first need to instanciate a Client :

```
