PHPackages                             marcreichel/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. marcreichel/igdb-laravel

ActiveLibrary[API Development](/categories/api)

marcreichel/igdb-laravel
========================

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

5.3.1(11mo ago)115146.6k↓28.5%24[2 issues](https://github.com/marcreichel/igdb-laravel/issues)[1 PRs](https://github.com/marcreichel/igdb-laravel/pulls)1MITPHPPHP ^8.2CI passing

Since Jan 10Pushed 11mo ago5 watchersCompare

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

READMEChangelog (10)Dependencies (11)Versions (68)Used By (1)

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://marcreichel.dev/docs/igdb-laravel/webhooks).

 [ ![Packagist Version](https://camo.githubusercontent.com/d3bc92c3f8d07da6e6087569eff5d2be81d56cc3f6758e2b106985cfcc39ce6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6172637265696368656c2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/marcreichel/igdb-laravel) [ ![Packagist Downloads](https://camo.githubusercontent.com/92ed8cf33f5e1ba6204a1376128134a92c9ad896629704aeec54e231dcc6e67c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6172637265696368656c2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/marcreichel/igdb-laravel) [ ![Tests](https://camo.githubusercontent.com/ff58a22b71c0006f8216ff2baf6c6dddca89e06c06c1ec36011c89edc9b4c825/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6172637265696368656c2f696764622d6c61726176656c2f74657374732e796d6c3f6576656e743d70757368267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d7465737473) ](https://github.com/marcreichel/igdb-laravel/actions/workflows/tests.yml) [ ![Pint](https://camo.githubusercontent.com/faa35b2b3ee301c94d9b0c0869877df67bb0de41dc29394157cf378200daed3b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6172637265696368656c2f696764622d6c61726176656c2f636f64652d7374796c652e796d6c3f6576656e743d70757368267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d436f64652d5374796c65) ](https://github.com/marcreichel/igdb-laravel/actions/workflows/pint.yml) [ ![PHPStan](https://camo.githubusercontent.com/753dfab8f59fd81981d30cf0e11094403a59b35fe83670cf4b11494e67ab8e3d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6172637265696368656c2f696764622d6c61726176656c2f636f64652d7175616c6974792e796d6c3f6576656e743d70757368267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d436f64652d5175616c697479) ](https://github.com/marcreichel/igdb-laravel/actions/workflows/code-quality.yml) [ ![CodeFactor](https://camo.githubusercontent.com/3bfb53986c8bce96ba6137d74c2008023f21a8e0891192c07c847e94829433f6/68747470733a2f2f696d672e736869656c64732e696f2f636f6465666163746f722f67726164652f6769746875622f6d6172637265696368656c2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6465666163746f72266c6162656c3d436f6465666163746f72) ](https://www.codefactor.io/repository/github/marcreichel/igdb-laravel) [ ![codecov](https://camo.githubusercontent.com/65652f3c177b396eaad049ac52be839bac8471f2a15fbc14533968732330764a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d6172637265696368656c2f696764622d6c61726176656c3f746f6b656e3d6d36464f423043795045267374796c653d666f722d7468652d6261646765266c6f676f3d636f6465636f76) ](https://codecov.io/gh/marcreichel/igdb-laravel) [ ![License](https://camo.githubusercontent.com/66cad145b772f5e00ea679fd0245ede6b0526cfbc952a0aaf8a5533aed38714c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6172637265696368656c2f696764622d6c61726176656c3f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/marcreichel/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 marcreichel/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://marcreichel.dev/docs/igdb-laravel).

Testing
-------

[](#testing)

Run the tests with:

```
composer test
```

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

[](#contribution)

Pull requests are welcome :)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance50

Moderate activity, may be stable

Popularity50

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.1% 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

Every ~35 days

Total

67

Last Release

349d ago

Major Versions

v0.10.2 → 1.0.02019-12-31

1.0.2 → 2.0.02020-10-07

2.4.6 → 3.0.02021-10-21

3.8.1 → 4.0.02023-09-03

4.3.0 → 5.0.02025-01-24

PHP version history (9 changes)v0.1.0PHP ^7.1.3

v0.10.0PHP ^7.2

1.0.1PHP ^7.2.5

2.1.0PHP ^7.2 | ^7.3 | ^7.4 | ^8.0

2.3.2PHP ^7.3 | ^7.4 | ^8.0

3.0.0PHP ^8.0

3.7.0PHP ^8.0.2

4.0.0PHP ^8.1

5.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/78a42c456514ed2ca00a19ba61baa3280b9e5c9294c6f63ca549cc3346839d65?d=identicon)[marcreichel](/maintainers/marcreichel)

---

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)")[![lofonic](https://avatars.githubusercontent.com/u/32524287?v=4)](https://github.com/lofonic "lofonic (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![JanderV](https://avatars.githubusercontent.com/u/2125363?v=4)](https://github.com/JanderV "JanderV (3 commits)")[![dominik-wbz](https://avatars.githubusercontent.com/u/8103258?v=4)](https://github.com/dominik-wbz "dominik-wbz (2 commits)")[![Themodem](https://avatars.githubusercontent.com/u/33794?v=4)](https://github.com/Themodem "Themodem (2 commits)")[![mydnic](https://avatars.githubusercontent.com/u/2733767?v=4)](https://github.com/mydnic "mydnic (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)")[![nkutinha](https://avatars.githubusercontent.com/u/61931921?v=4)](https://github.com/nkutinha "nkutinha (1 commits)")[![HDVinnie](https://avatars.githubusercontent.com/u/12850699?v=4)](https://github.com/HDVinnie "HDVinnie (1 commits)")

---

Tags

api-wrapperapicalypseapicalypse-queryhacktoberfestigdbigdb-apiigdb-integrationigdb-laravellaravellaravel-packagelaravel-wrapperphpquery-builderwebhookswrapperlaravelwrapperApi Wrapperigdbapicalypseigdb-api

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[fiveam-code/laravel-notion-api

Laravel Wrapper for the Notion API

435224.4k1](/packages/fiveam-code-laravel-notion-api)[aerni/laravel-spotify

A Laravel wrapper for the Spotify Web API

209145.6k](/packages/aerni-laravel-spotify)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)

PHPackages © 2026

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