marcreichel/igdb-laravel

Eloquent-style models and query builder for the IGDB API in Laravel, with Twitch authentication and webhook support handled for you.
184,390 114
Install
composer require marcreichel/igdb-laravel
Latest Version:6.1.0
PHP:^8.2
Laravel:12 · 13
Older releases:5 – 11
License:MIT
Last Updated:Oct 9, 2026
Links: GitHub  ·  Packagist
Maintainer: marcreichel

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

  1. Installation
  2. Getting started
  3. Select (Fields)
  4. Search
  5. Fuzzy Search
  6. Where clauses
  7. Ordering, Limit, & Offset
  8. Cache
  9. Relationships (Extends)
  10. Fetch results
  11. Reading properties
  12. Images
  13. Webhooks

Testing

Run the tests with:

composer test

Contribution

Pull requests are welcome :)

Related Packages

uzpeng/elasticsearch

Laravel, Lumen and Native php elasticseach query builder to build complex querie...

9,036 0
messerli90/igdb

Laravel PHP Facade/Wrapper for the IGDB API

9,567 30
richan-fongdasen/eloquent-blameable

Blameable behavior implementation for your Eloquent Model in Laravel

235,687 34
cacing69/bitbuilder

Make easy query builder / eloquent queries based on requests for API Response

66 1

Version History

Version Released PHP Laravel License
6.1.0 ^8.2 ^12.0|^13.0 MIT
6.0.0 ^8.2 ^12.0|^13.0 MIT
5.3.1 ^8.2 ^11.0|^12.0 MIT
5.3.0 ^8.2 ^11.0|^12.0 MIT
5.2.0 ^8.2 ^11.0|^12.0 MIT