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
Requires
- ext-json: *
- firebase/php-jwt: ^5.2
- laravel/framework: 5.8.*|^7.0
- orchestra/testbench: ^3.7|^5.0
- phpunit/phpunit: ^7.5|^8.5
- romanzipp/laravel-twitch: ^2.0
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));