Eloquent-style models and query builder for the IGDB API in Laravel, with Twitch authentication and webhook support handled for you.
marcreichel/igdb-laravel is a Laravel package for eloquent-style models and query builder for the igdb api in laravel, with twitch authentication and webhook support handled for you..
It currently has 114 GitHub stars and 185.835 downloads on Packagist (latest version 6.1.0).
Install it with composer require marcreichel/igdb-laravel.
Discover more Laravel packages by marcreichel
or browse all Laravel packages to compare alternatives.
Last updated
This is a Laravel wrapper for version 4 of the IGDB API (Apicalypse) including webhook handling.
Create a Twitch Developer App, then install the package via composer:
composer require marcreichel/igdb-laravel
Publish the config file to config/igdb.php and set your TWITCH_CLIENT_ID and TWITCH_CLIENT_SECRET:
php artisan igdb:publish
use MarcReichel\IGDBLaravel\Models\Game;
$game = Game::where('name', 'Fortnite')->first();
Run the tests with:
composer test
Pull requests are welcome :)