PHPackages                             nataniel/bggxmlapi2 - 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. nataniel/bggxmlapi2

ActiveLibrary[API Development](/categories/api)

nataniel/bggxmlapi2
===================

BoardGameGeek.com XML API2 - PHP Client Library

v1.1.5(4y ago)254.4k↓50%13[2 issues](https://github.com/nataniel/bggxmlapi2/issues)MITPHPPHP &gt;=5.5CI failing

Since May 31Pushed 1y ago3 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

bggxmlapi2
==========

[](#bggxmlapi2)

PHP Client Library for BoardGameGeek.com [XML API2](https://boardgamegeek.com/wiki/page/BGG_XML_API2)

Installation
------------

[](#installation)

```
composer require nataniel/bggxmlapi2

```

Usage
-----

[](#usage)

```
// initialize client
$client = new \Nataniel\BoardGameGeek\Client();

// download information about "Dixit"
// https://boardgamegeek.com/boardgame/39856/dixit
$thing = $client->getThing(39856, true);

var_dump($thing->getName());
var_dump($thing->getYearPublished());
var_dump($thing->getBoardgameCategories());
var_dump($thing->getRatingAverage());
// ...

// download information about user
// https://boardgamegeek.com/user/Nataniel
$user = $client->getUser('nataniel');

var_dump($user->getAvatar());
var_dump($user->getCountry());

// search for a game
$results = $client->search('Domek');
echo count($results);

$things = [];
foreach ($result as $item) {
    var_dump($item->getName());
    $things[] = $client->getThing($item->getId());
}
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.8% 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 ~247 days

Recently: every ~311 days

Total

7

Last Release

1792d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.0

v1.1.3PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411846?v=4)[Artur Jedliński](/maintainers/nataniel)[@nataniel](https://github.com/nataniel)

---

Top Contributors

[![nataniel](https://avatars.githubusercontent.com/u/411846?v=4)](https://github.com/nataniel "nataniel (33 commits)")[![pimpeters](https://avatars.githubusercontent.com/u/9702432?v=4)](https://github.com/pimpeters "pimpeters (2 commits)")[![alberto-bottarini](https://avatars.githubusercontent.com/u/1442934?v=4)](https://github.com/alberto-bottarini "alberto-bottarini (1 commits)")[![Rocksheep](https://avatars.githubusercontent.com/u/1311371?v=4)](https://github.com/Rocksheep "Rocksheep (1 commits)")[![titich](https://avatars.githubusercontent.com/u/36174849?v=4)](https://github.com/titich "titich (1 commits)")

---

Tags

api-clientboardgamegeekphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nataniel-bggxmlapi2/health.svg)

```
[![Health](https://phpackages.com/badges/nataniel-bggxmlapi2/health.svg)](https://phpackages.com/packages/nataniel-bggxmlapi2)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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