Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/PetterKraabol/laravel-twitch-api

Twitch API for Laravel 5
https://github.com/PetterKraabol/laravel-twitch-api

api laravel twitch

Last synced: 8 days ago
JSON representation

Twitch API for Laravel 5

Lists

README

        

# Twitch API for Laravel

An easy-to-use API for Laravel 5

## Installation

```bash
composer require zarlach/laravel-twitch-api
```

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

```php
Zarlach\TwitchApi\Providers\TwitchApiServiceProvider::class,
```

Add this facade in `aliases`

```php
'TwitchApi' => Zarlach\TwitchApi\Facades\TwitchApiServiceFacade::class,
```

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

```php
php artisan vendor:publish
```

## Laravel environment variables

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

```bash
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`