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-laravelPublish the config file to config/igdb.php and set your TWITCH_CLIENT_ID and TWITCH_CLIENT_SECRET:
php artisan igdb:publishuse MarcReichel\IGDBLaravel\Models\Game;
$game = Game::where('name', 'Fortnite')->first();- Installation
- Getting started
- Select (Fields)
- Search
- Fuzzy Search
- Where clauses
- Ordering, Limit, & Offset
- Cache
- Relationships (Extends)
- Fetch results
- Reading properties
- Images
- Webhooks
Run the tests with:
composer testPull requests are welcome :)