Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1004 Bytes

readme.md

File metadata and controls

49 lines (32 loc) · 1004 Bytes

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