sitedyno / phergie-twitch-status
Phergie plugin for fetching a twitch channel's status/title.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sitedyno/phergie-twitch-status
Requires
Requires (Dev)
- phake/phake: 2.0.0-beta2
- phpunit/phpunit: 4.5.*
This package is auto-updated.
Last update: 2025-10-06 10:56:46 UTC
README
Phergie plugin for fetching a twitch channel's status/title.
Install
The recommended method of installation is through composer.
php composer.phar require sitedyno/phergie-twitch-status
See Phergie documentation for more information on installing and enabling plugins.
Configuration
return [ 'plugins' => [ // dependencies new \Phergie\Plugin\Dns\Plugin, new \Phergie\Plugin\Http\Plugin, new \Phergie\Irc\Plugin\React\Url\Plugin, // configuration new \Sitedyno\Phergie\Plugin\Twitch-status\Plugin([ // optional: template used to define response to urls 'responseFormat' => '%viewers% viewers watching %display_name% play %game% - %status%', ]) ] ];
Tests
To run the unit test suite:
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit
License
Released under the BSD License. See LICENSE
.