PHPackages                             katzen48/laravel-twitch-eventsub - 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. [API Development](/categories/api)
4. /
5. katzen48/laravel-twitch-eventsub

ActiveLibrary[API Development](/categories/api)

katzen48/laravel-twitch-eventsub
================================

This package provides support for subscribing to Twitch EventSub. It's based on laravel-twitch and fully compatible.

v0.11(3y ago)56.0kMITPHPPHP ^8.0CI failing

Since Apr 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Katzen48/Laravel-Twitch-EventSub)[ Packagist](https://packagist.org/packages/katzen48/laravel-twitch-eventsub)[ RSS](/packages/katzen48-laravel-twitch-eventsub/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Laravel Twitch EventSub Library
===============================

[](#laravel-twitch-eventsub-library)

[![Total Downloads](https://camo.githubusercontent.com/6ab6eae2dcbabd5066284b6c40d00607f826d5c4a163e26f32f4c8581a710c6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b61747a656e34382f6c61726176656c2d7477697463682d6576656e74737562)](https://packagist.org/packages/katzen48/laravel-twitch-eventsub)[![Latest Stable Version](https://camo.githubusercontent.com/38794bbc0d9fcaad7bab248ad9961f551d924f0c35c7d4234608e4f8641c47eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61747a656e34382f6c61726176656c2d7477697463682d6576656e74737562)](https://packagist.org/packages/katzen48/laravel-twitch-eventsub)[![License](https://camo.githubusercontent.com/def1c8b741a2e48d5fd4ebcb5368cf855e9c35cd20fa19d94d9a9262ba16a963/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b61747a656e34382f6c61726176656c2d7477697463682d6576656e74737562)](https://packagist.org/packages/katzen48/laravel-twitch-eventsub)

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

[](#introduction)

This package provides support for subscribing to [Twitch EventSub](https://dev.twitch.tv/docs/eventsub/). It's based on [laravel-twitch](https://github.com/romanzipp/laravel-twitch) and fully compatible.

Features
--------

[](#features)

- Create Twitch EventSub subscriptions via webhooks
- Subscribe to the received events on a per-event basis through the dedicated classes
- Define events, to subscribe to, whenever a specific model is saved to the database

Installation
------------

[](#installation)

First, install [laravel-twitch](https://github.com/romanzipp/laravel-twitch).
Please refer to their documentation.

After laravel-twitch is installed and configured, install laravel-twitch-eventsub from composer

```
composer require katzen48/laravel-twitch-eventsub
```

The config can be published with

```
php artisan vendor:publish --tag=config
```

Configuration
-------------

[](#configuration)

After you published the config, you can find it in `config/twitch-eventsub.php` and it looks like this:

```
