PHPackages                             depotwarehouse/bnet-sc2-api - 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. depotwarehouse/bnet-sc2-api

ActiveLibrary[API Development](/categories/api)

depotwarehouse/bnet-sc2-api
===========================

An API wrapper for the SC2 API on Battle.net

0.0.9(9y ago)049[1 issues](https://github.com/tpavlek/bnet-sc2-api/issues)PHP

Since Jun 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tpavlek/bnet-sc2-api)[ Packagist](https://packagist.org/packages/depotwarehouse/bnet-sc2-api)[ RSS](/packages/depotwarehouse-bnet-sc2-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

Battle.net SC2 API Wrapper
==========================

[](#battlenet-sc2-api-wrapper)

This is a quick (WIP) wrapper for the Battle.net API for SC2. It's likely best not to rely on it, as the API can change very publicly, very quickly.

At current, there is a single supported function to get Grandmaster Information

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

[](#installation)

```
composer require depotwarehouse/bnet-sc2-api

```

Testing
-------

[](#testing)

Since this is primarily a wrapper for the Battle.net API, testing would be useless if we did not actually hit the API. To that end, in order to test you must have an API key. Once you have that, copy `phpunit.xml.dist` to `phpunit.xml` and fill in the `BNET_API_KEY` value in the `` section.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~56 days

Total

9

Last Release

3612d ago

### Community

Maintainers

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

---

Top Contributors

[![tpavlek](https://avatars.githubusercontent.com/u/782576?v=4)](https://github.com/tpavlek "tpavlek (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/depotwarehouse-bnet-sc2-api/health.svg)

```
[![Health](https://phpackages.com/badges/depotwarehouse-bnet-sc2-api/health.svg)](https://phpackages.com/packages/depotwarehouse-bnet-sc2-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[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)
