PHPackages                             mariusgelez/igdb-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mariusgelez/igdb-laravel

ActiveLibrary[API Development](/categories/api)

mariusgelez/igdb-laravel
========================

A Laravel wrapper for version 4 of the IGDB API (Apicalypse) including webhook handling

1.0.0(1mo ago)052MITPHPPHP ^8.2

Since Jul 8Pushed 1mo agoCompare

[ Source](https://github.com/mariusgelez/igdb-laravel)[ Packagist](https://packagist.org/packages/mariusgelez/igdb-laravel)[ RSS](/packages/mariusgelez-igdb-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (11)Versions (2)Used By (0)

Laravel IGDB Wrapper
====================

[](#laravel-igdb-wrapper)

 This is a Laravel wrapper for version 4 of the [IGDB API](https://api-docs.igdb.com/) (Apicalypse) including [webhook handling](https://github.com/mariusgelez/igdb-laravel/blob/main/docs/90-webhooks.md).

 [ ![Packagist Version](https://camo.githubusercontent.com/2ec3c7391230c51a04f054aa8a64a4712a4a6b18284973a2b688f3ad175f0eb3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617269757367656c657a2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/mariusgelez/igdb-laravel) [ ![Packagist Downloads](https://camo.githubusercontent.com/61fe900852fea056df47094b10b8e89a770777a4f3146151f949e80bd67acdd2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617269757367656c657a2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/mariusgelez/igdb-laravel) [ ![Tests](https://camo.githubusercontent.com/327a30830253a2a2ff889558e842771aeaed71ee6a9d230758d510576f8a19d6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617269757367656c657a2f696764622d6c61726176656c2f74657374732e796d6c3f6576656e743d70757368267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d7465737473) ](https://github.com/mariusgelez/igdb-laravel/actions/workflows/tests.yml) [ ![Pint](https://camo.githubusercontent.com/6a4bed6b4d1ff807f3a3d05b78b3e588885996c99dc6056591d4182ba3851695/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617269757367656c657a2f696764622d6c61726176656c2f636f64652d7374796c652e796d6c3f6576656e743d70757368267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d436f64652d5374796c65) ](https://github.com/mariusgelez/igdb-laravel/actions/workflows/code-style.yml) [ ![PHPStan](https://camo.githubusercontent.com/f64606bbd9187246095ad766e0c56fc9be36de52283b37df505443102f740486/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617269757367656c657a2f696764622d6c61726176656c2f636f64652d7175616c6974792e796d6c3f6576656e743d70757368267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d436f64652d5175616c697479) ](https://github.com/mariusgelez/igdb-laravel/actions/workflows/code-quality.yml) [ ![CodeFactor](https://camo.githubusercontent.com/900cc4fe33bfc327f7399bbb5df14e8a23e296a6e51a1381d159dc84dbd8fb6e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465666163746f722f67726164652f6769746875622f6d617269757367656c657a2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6465666163746f72266c6162656c3d436f6465666163746f72) ](https://www.codefactor.io/repository/github/mariusgelez/igdb-laravel) [ ![codecov](https://camo.githubusercontent.com/400f0aa9f83294bf35fa59fb0c1ec004c7f7065f8a3985870aefe8feb4d447e5/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d617269757367656c657a2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6465636f76) ](https://codecov.io/gh/mariusgelez/igdb-laravel) [ ![License](https://camo.githubusercontent.com/a13bf005be83c968d2b3752d21f9585adba12257b2d4c2e51a22457d878eee66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d617269757367656c657a2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/mariusgelez/igdb-laravel)

[![Cover](docs/art/cover.png)](docs/art/cover.png)

Basic installation
------------------

[](#basic-installation)

You can install this package via composer using:

```
composer require mariusgelez/igdb-laravel
```

The package will automatically register its service provider.

To publish the config file to `config/igdb.php` run:

```
php artisan igdb:publish
```

This is the default content of the config file:

```
return [
    /*
     * These are the credentials you got from https://dev.twitch.tv/console/apps
     */
    'credentials' => [
        'client_id' => env('TWITCH_CLIENT_ID', ''),
        'client_secret' => env('TWITCH_CLIENT_SECRET', ''),
    ],

    /*
     * This package caches queries automatically (for 1 hour per default).
     * Here you can set how long each query should be cached (in seconds).
     *
     * To turn cache off set this value to 0
     */
    'cache_lifetime' => env('IGDB_CACHE_LIFETIME', 3600),

    /**
     * The prefix used to cache the results.
     *
     * E.g.: `[CACHE_PREFIX].75170fc230cd88f32e475ff4087f81d9`
     */
    'cache_prefix' => 'igdb_cache',

    /*
     * Path where the webhooks should be handled.
     */
    'webhook_path' => 'igdb-webhook/handle',

    /*
     * The webhook secret.
     *
     * This needs to be a string of your choice in order to use the webhook
     * functionality.
     */
    'webhook_secret' => env('IGDB_WEBHOOK_SECRET', null),
];
```

Documentation
-------------

[](#documentation)

You will find the full documentation on [the dedicated documentation site](https://github.com/mariusgelez/igdb-laravel/tree/main/docs).

Testing
-------

[](#testing)

Run the tests with:

```
composer test
```

Contribution
------------

[](#contribution)

Pull requests are welcome :)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance90

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fcb1b51f76cd18a74d3335772f7c4141e40aa04ddb4452367b2eb1a61cdec36?d=identicon)[mariusgelez](/maintainers/mariusgelez)

---

Top Contributors

[![marcreichel](https://avatars.githubusercontent.com/u/7645035?v=4)](https://github.com/marcreichel "marcreichel (246 commits)")[![scottcharlesworth](https://avatars.githubusercontent.com/u/8984512?v=4)](https://github.com/scottcharlesworth "scottcharlesworth (16 commits)")[![Andrew-Shook](https://avatars.githubusercontent.com/u/2798090?v=4)](https://github.com/Andrew-Shook "Andrew-Shook (5 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![mariusgelez](https://avatars.githubusercontent.com/u/9208175?v=4)](https://github.com/mariusgelez "mariusgelez (3 commits)")[![JanderV](https://avatars.githubusercontent.com/u/2125363?v=4)](https://github.com/JanderV "JanderV (3 commits)")[![lofonic](https://avatars.githubusercontent.com/u/32524287?v=4)](https://github.com/lofonic "lofonic (3 commits)")[![Themodem](https://avatars.githubusercontent.com/u/33794?v=4)](https://github.com/Themodem "Themodem (2 commits)")[![dominik-wbz](https://avatars.githubusercontent.com/u/8103258?v=4)](https://github.com/dominik-wbz "dominik-wbz (2 commits)")[![MariusGelezinis](https://avatars.githubusercontent.com/u/90241568?v=4)](https://github.com/MariusGelezinis "MariusGelezinis (1 commits)")[![mydnic](https://avatars.githubusercontent.com/u/2733767?v=4)](https://github.com/mydnic "mydnic (1 commits)")[![nkutinha](https://avatars.githubusercontent.com/u/61931921?v=4)](https://github.com/nkutinha "nkutinha (1 commits)")[![jaesung2061](https://avatars.githubusercontent.com/u/8308306?v=4)](https://github.com/jaesung2061 "jaesung2061 (1 commits)")[![Slatyo](https://avatars.githubusercontent.com/u/21217262?v=4)](https://github.com/Slatyo "Slatyo (1 commits)")[![HDVinnie](https://avatars.githubusercontent.com/u/12850699?v=4)](https://github.com/HDVinnie "HDVinnie (1 commits)")

---

Tags

laravelwrapperApi Wrapperigdbapicalypseigdb-api

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/mariusgelez-igdb-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/mariusgelez-igdb-laravel/health.svg)](https://phpackages.com/packages/mariusgelez-igdb-laravel)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.6k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k99.8M360](/packages/laravel-horizon)[marcreichel/igdb-laravel

A Laravel wrapper for version 4 of the IGDB API (Apicalypse) including webhook handling

114169.5k1](/packages/marcreichel-igdb-laravel)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

298594.9k1](/packages/larabug-larabug)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
