zarlach/laravel-twitch-api

Laravel Twitch RESTful API

1.5.2 2019-03-02 15:14 UTC

README

An easy-to-use API for Laravel 5

Installation

composer require zarlach/laravel-twitch-api

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

Zarlach\TwitchApi\Providers\TwitchApiServiceProvider::class,

Add this facade in aliases

'TwitchApi' => Zarlach\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