PHPackages                             dborsatto/php-giantbomb - 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. dborsatto/php-giantbomb

ActiveLibrary[API Development](/categories/api)

dborsatto/php-giantbomb
=======================

A PHP library that acts as a wrapper for the GiantBomb API.

v2.2.0(4y ago)1239.8k22MITPHPPHP ^7.4|^8.0

Since Aug 13Pushed 4y ago2 watchersCompare

[ Source](https://github.com/dborsatto/php-giantbomb)[ Packagist](https://packagist.org/packages/dborsatto/php-giantbomb)[ RSS](/packages/dborsatto-php-giantbomb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (14)Used By (2)

php-giantbomb
=============

[](#php-giantbomb)

[![Packagist](https://camo.githubusercontent.com/0df7e3287f2edf50004e94871f1c1b91a881a1e200e35f001327615075426226/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64626f72736174746f2f7068702d6769616e74626f6d622e737667)](https://packagist.org/packages/dborsatto/php-giantbomb)[![Packagist](https://camo.githubusercontent.com/456d50e23a7deb9870dcd1d0eca9775cb822dcc84e94068d30affdaa5914705f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64626f72736174746f2f7068702d6769616e74626f6d622e737667)](https://packagist.org/packages/dborsatto/php-giantbomb)[![Packagist](https://camo.githubusercontent.com/c10795c3b50c038f916f6a0b905c8ad419a398be3e7a31205b76ed28fce9dfc4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64626f72736174746f2f7068702d6769616e74626f6d622e737667)](https://packagist.org/packages/dborsatto/php-giantbomb)

This is a library that acts as a wrapper for GiantBomb's API.

Install
-------

[](#install)

Via Composer

```
$ composer require dborsatto/php-giantbomb
```

Usage
-----

[](#usage)

```
$apiKey = 'YouApiKey';

// Create a Config object and pass it to the Client
$config = new DBorsatto\GiantBomb\Configuration($apiKey);
$client = new DBorsatto\GiantBomb\Client($config);

// OPTIONAL: use a PSR-16 simple cache pool
$cache = new Cache\Adapter\PHPArray\ArrayCachePool();
$client = new DBorsatto\GiantBomb\Client($config, $cache);

// Standard query creation process
$query = DBorsatto\GiantBomb\Query::create()
    ->addFilterBy('name', 'Uncharted')
    ->sortBy('original_release_date', 'asc')
    ->setFieldList(['id', 'name', 'deck'])
    ->setParameter('limit', '100')
    ->setParameter('offset', '0');
$games = $client->find('Game', $query);
echo count($games)." Game objects loaded\n";

// These two options are equivalent
$game = $client->findOne('Game', Query::createForResourceId('3030-22420'));
// The findWithResourceID method is just a shortcut
$game = $client->findWithResourceID('Game', '3030-22420');
echo $game->get('name')." object loaded\n";

// These two options are equivalent
$query = DBorsatto\GiantBomb\Query::create()
    ->setParameter('query', 'Uncharted')
    ->setParameter('resources', 'game,franchise');
$results = $client->find('Search', $query);
// The search method is just a shortcut
$results = $client->search('Uncharted', 'game,franchise');
echo count($results)." Search objects loaded\n";
```

For the full option list visit [GiantBomb's API doc](http://www.giantbomb.com/api/documentation).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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 ~178 days

Recently: every ~373 days

Total

13

Last Release

1794d ago

Major Versions

0.6.0 → v1.0.02017-02-04

v1.0.2 → v2.0.02020-09-14

PHP version history (2 changes)v2.0.0PHP ^7.4

v2.2.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e1c61de690e3a51a67237e831ce74274e1f38181d2f9bef575c49579e03c5c2?d=identicon)[dborsatto](/maintainers/dborsatto)

---

Top Contributors

[![dborsatto](https://avatars.githubusercontent.com/u/94651?v=4)](https://github.com/dborsatto "dborsatto (38 commits)")

---

Tags

phpphp-library

###  Code Quality

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dborsatto-php-giantbomb/health.svg)

```
[![Health](https://phpackages.com/badges/dborsatto-php-giantbomb/health.svg)](https://phpackages.com/packages/dborsatto-php-giantbomb)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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