hootener / laravel-twitch-api by hootener
forked from PetterKraabol/laravel-twitch-api

Laravel Twitch RESTful API
1,050
0
2
Package Data
Maintainer Username: hootener
Maintainer Contact: eli@gamewisp.com (Eli Hooten)
Package Create Date: 2017-06-27
Package Last Update: 2017-06-28
Home Page: https://packagist.org/packages/hootener/laravel-twitch-api
Language: PHP
License: MIT
Last Refreshed: 2025-02-09 15:07:43
Package Statistics
Total Downloads: 1,050
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Twitch RESTful API for Laravel

Note: This is forked from: https://github.com/PetterKraabol/laravel-twitch-api and will only be maintained until that project accepts the PR's necessary to catch it up to this package.

An easy-to-use RESTful API for Laravel 5, works with Twitch API v5

Installation

composer require hootener/laravel-twitch-api

In config/app.php, add this provider in providers

Hootener\TwitchApi\Providers\TwitchApiServiceProvider::class,

Add this facade in aliases

'TwitchApi' => Hootener\TwitchApi\Facades\TwitchApiServiceFacade::class,

Publish config, then configure your config/twitch-api.php

php artisan vendor:publish

Laravel environment variables

It's recommended to add these variables in your .env file.

TWITCH_KEY=
TWITCH_SECRET=
TWITCH_REDIRECT_URI=

Documentation

You'll find documentation markdown files in the docs folder.

Changelog

A list of changes is found in changelog.md