https://github.com/PetterKraabol/laravel-twitch-api
Twitch API for Laravel 5
https://github.com/PetterKraabol/laravel-twitch-api
api laravel twitch
Last synced: 5 months ago
JSON representation
Twitch API for Laravel 5
- Host: GitHub
- URL: https://github.com/PetterKraabol/laravel-twitch-api
- Owner: PetterKraabol
- License: mit
- Created: 2015-11-06T01:41:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-02T15:15:49.000Z (about 6 years ago)
- Last Synced: 2024-11-07T05:20:46.005Z (6 months ago)
- Topics: api, laravel, twitch
- Language: PHP
- Homepage: https://packagist.org/packages/zarlach/laravel-twitch-api
- Size: 84 KB
- Stars: 29
- Watchers: 4
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license
Awesome Lists containing this project
- awesome-twitch-dev - PetterKraabol/laravel-twitch-api - Twitch API for Laravel 5. (Libraries / PHP)
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`