/twitch-phplays

Twitch Plays game controller made in PHP 7

Primary LanguagePHP

Twitch PHPlays

An OpenSource PHP library for making "Twitch Plays".

What ?

Basically it runs a bot that reads a channel in Twitch IRC and allows the users to send input via chat into an emulator running some game (that probably will be streamed in that twitch channel, but this part is up to you :p).

Why create another one if there is a lot of Twitch Plays libs in Github ?

Because most of them is in Python with some JS like Node, so this one is to show that PHP can do it too !

Can I use it ?

Yesssss!!!!1

What controllers does it supports ?

Currently only Snes controller.

Usage

First you must rename the file in config/autoload/local.php.dist to local.php and edit this file. Tip: To generate the oauth token you can use this website -> https://twitchapps.com/tmi/ Then :

$ composer run