New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

marcreichel/igdb-laravel

Eloquent-style models and query builder for the IGDB API in Laravel, with Twitch authentication and webhook support handled for you.
187,026 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

Laravel IGDB Wrapper

This is a Laravel wrapper for version 4 of the IGDB API (Apicalypse) including webhook handling.

Packagist Version Packagist Downloads Tests Pint PHPStan CodeFactor codecov License

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

richan-fongdasen/eloquent-blameable

Blameable behavior implementation for your Eloquent Model in Laravel

236,716 34
richan-fongdasen/eloquent-repository

An Eloquent Repository implementation in Laravel

13,889 0
cacing69/bitbuilder

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

68 1
lastdragon-ru/lara-asp-eloquent

Contains useful extensions and mixins for Eloquent.

143,998 1
messerli90/igdb

Laravel PHP Facade/Wrapper for the IGDB API

9,569 30

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