PHPackages                             legionth/igdb-reactphp-client - 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. legionth/igdb-reactphp-client

ActiveLibrary[API Development](/categories/api)

legionth/igdb-reactphp-client
=============================

v0.2.0(7y ago)04MITPHPPHP &gt;=7.1

Since Sep 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/legionth/igdb-reactphp-client)[ Packagist](https://packagist.org/packages/legionth/igdb-reactphp-client)[ RSS](/packages/legionth-igdb-reactphp-client/feed)WikiDiscussions master Synced 4d ago

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

igdb-reactphp
=============

[](#igdb-reactphp)

Asynchrounous event-event driven implementation of the [IGDB API](https://api.igdb.com/) on top of ReactPHP.

**Table of Contents**

Usage
-----

[](#usage)

This example will create an client that will connect to the official IGDB API\]().

An API call to [achievements](https://igdb.github.io/api/endpoints/achievement/)is used here.

```
require __DIR__ . '/vendor/autoload.php';

$loop = React\EventLoop\Factory::create();

$httpClient = new \Legionth\React\Http\Client($loop);

$apiKey = '';

$igdbClient = new \Legionth\React\IGDB\IgdbClient($apiKey, $httpClient);

$promise = $igdbClient->getAchievements(array(1440, 5000));

$promise->then(function (array $array){
    echo "Array: " . json_encode($array, JSON_PRETTY_PRINT);
}, function (\Exception $exception) {
    echo $exception->getMessage();
});
```

All methods in `IgdbClient` will return a [ReactPHP Promise](https://github.com/reactphp/promise)which will result in an array containing all information the response of the API. The promise is used to work highly asynchronous so multiple calls can be made asynchronous without fearing blocking code.

General
-------

[](#general)

### API Key

[](#api-key)

To use this library you MUST create an account on [IGDB API](https://api.igdb.com/). This API MUST be passed to the library to work.

### Limitation of Requests

[](#limitation-of-requests)

Please consider there MAY be a limitation of requests to [IGDB API](https://api.igdb.com/). Check the documentation to increase the calls to API.

Supported Endpoints
-------------------

[](#supported-endpoints)

Currently there are several ebdpoints that are supported in this library.

```
    Achievements
    Character
    Collection
    Company
    Credits
    External Review
    External Review Source
    Feed
    Franchise
    Game
    Game engine
    Game mode
    Genre
    Keyword
    Page
    Person
    Platform
    Play Times
    Player Perspective
    Pulse
    Pulse Group
    Pulse Source
    Release date
    Review
    Theme
    Title
    User Profile
    Versions

```

If any endpoint is missing or has changed, feel free to fill a pull request to help out.

Install
-------

[](#install)

[New to Composer?](https://getcomposer.org/doc/00-intro.md)

This will install the latest supported version:

```
$ composer require legionth/igdb-client-reactphp:^0.1
```

License
-------

[](#license)

MIT

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

2

Last Release

2790d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3241ea646d5298776a417a7e552e7bec0d3dd81ada4be370f8f0b91cd2d09b3?d=identicon)[legionth](/maintainers/legionth)

---

Top Contributors

[![legionth](https://avatars.githubusercontent.com/u/1578709?v=4)](https://github.com/legionth "legionth (7 commits)")

### Embed Badge

![Health badge](/badges/legionth-igdb-reactphp-client/health.svg)

```
[![Health](https://phpackages.com/badges/legionth-igdb-reactphp-client/health.svg)](https://phpackages.com/packages/legionth-igdb-reactphp-client)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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