marcreichel / igdb-laravel
Eloquent-style models and query builder for the IGDB API in Laravel, with Twitch authentication and webhook support handled for you.
6.1.0
2026-10-09 18:44 UTC
Requires
- php: ^8.2
- ext-json: *
- guzzlehttp/guzzle: ~6.0|~7.0
- illuminate/support: ^12.0|^13.0
- nesbot/carbon: ^2.53.1|^3.0
Requires (Dev)
- larastan/larastan: ^3.0.2
- laravel/pint: ^1.13
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.7.4|^4.4
- pestphp/pest-plugin-type-coverage: ^3.2.3|^4.0
- rector/rector: ^2.0.7
- roave/security-advisories: dev-latest
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- 6.1.0
- 6.0.0
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.8.1
- 3.8.0
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.1
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.0
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.5
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.0.2
- 1.0.1
- 1.0.0
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.0
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.1
- v0.1.0
- dev-feat/guzzle-8
- dev-docs/readme-header
- dev-docs/in-repo-docs
- dev-feat/93-access-token-refresh
- dev-feat/109-custom-webhook-url
- dev-feat/igdb-schema-workflow
- dev-feat/igdb-schema-check
- dev-fix/101-sync-igdb-schema
- dev-fix/103-game-artworks-relation
This package is auto-updated.
Last update: 2026-10-09 19:32:40 UTC
README
This is a Laravel wrapper for version 4 of the IGDB API (Apicalypse) including webhook handling.
Installation
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
Example
use MarcReichel\IGDBLaravel\Models\Game; $game = Game::where('name', 'Fortnite')->first();
Documentation
- Installation
- Getting started
- Select (Fields)
- Search
- Fuzzy Search
- Where clauses
- Ordering, Limit, & Offset
- Cache
- Relationships (Extends)
- Fetch results
- Reading properties
- Images
- Webhooks
Testing
Run the tests with:
composer test
Contribution
Pull requests are welcome :)