{"repo":"romanzipp/Laravel-Twitch","free":true,"listed":false,"github":"https://github.com/romanzipp/Laravel-Twitch","clone":"git clone https://github.com/romanzipp/Laravel-Twitch.git","description":"Twitch Helix API PHP Wrapper for Laravel","language":"PHP","stars":113,"topics":["laravel","php","php7","twitch","oauth","api","showcase","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Twitch PHP Twitch Helix API Wrapper for Laravel 5+ ⚠️ Changes on May 01, 2020 Since May 01, 2020, Twitch requires all requests to contain a valid OAuth Access Token. This can be achieved by requesting an OAuth Token using the Client Credentials Flow. If you don't handle this by yourself, be sure to enable the built-in Access Token generation feature via the oauth client credentials.auto generate configuration entry. You will need define a valid Client ID and Client Secret via your config or the available setters! See the full config for more details. Table of contents 1. Installation 2. Configuration 3. Examples 4. Documentation 5. Upgrading 6. Development Installation Configuration Copy configuration to project: Add environmental variables to your .env : If you want to use the EventSub with the Webhook transport, then you are required to define a secret. This secret is a string between 10 and 100 characters. Examples Basic Setters OAuth Tokens OAuth Client Credentials Flow Since May 01, 2020, every request requires an OAuth token which can be issued using the OAuth Client Credentials Flow. Pagination The Twitch API returns a paginator field with paginated results like /streams , /follows or /games . To jump between pages, the given cursor must be appended to the following query using the direction attributes after or before . In this example, we will fetch a set of streams and use the provided cursor to switch to the next/previous set of data. ❗️ To prevent infinite ","default_branch":null,"files":null,"tree":[],"storefront":"/r/romanzipp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/romanzipp/Laravel-Twitch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}