ghostzero/lpthoot

This package is abandoned and no longer maintained. The author suggests using the ghostzero/twitch-toolkit package instead.

This package offers a toolkit to simplify certain processes

v3.1 2020-06-17 09:46 UTC

This package is auto-updated.

Last update: 2020-06-17 11:32:53 UTC


README

The main idea of this laravel package is to make it performant and easy to solve certain API problems with Twitch. Furthermore this package offers a toolkit to simplify certain processes:

  • Twitch Webhook/Polling Management
  • Twitch Webhooks as Laravel Events
  • Twitch Username/ID Resolver & Cache
  • Twitch Extension Guard Middleware

Installation

/*
 * Package Service Providers...
 */
\GhostZero\TwitchToolkit\Providers\PollServiceProvider::class,
$schedule->command('twitch-toolkit:poll')->everyFiveMinutes();
$schedule->command('twitch-toolkit:subscribe-webhooks')->weekly();

Webhooks

Polling

dispatch(new SubscribeTwitchWebhooks($channel));