PetterKraabol / laravel-twitch-api by PetterKraabol

Laravel Twitch RESTful API
22,994
29
4
Package Data
Maintainer Username: PetterKraabol
Maintainer Contact: petter.zarlach@gmail.com (Petter Kraabøl)
Package Create Date: 2015-11-06
Package Last Update: 2019-03-02
Home Page: https://packagist.org/packages/zarlach/laravel-twitch-api
Language: PHP
License: MIT
Last Refreshed: 2024-11-17 03:00:47
Package Statistics
Total Downloads: 22,994
Monthly Downloads: 5
Daily Downloads: 0
Total Stars: 29
Total Watchers: 4
Total Forks: 13
Total Open Issues: 3

Twitch API for Laravel

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