PHPackages                             raidkeeper/battlenet-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. raidkeeper/battlenet-api

ActiveLibrary[API Development](/categories/api)

raidkeeper/battlenet-api
========================

Raidkeeper Battlenet API interface

v0.0.3(3y ago)24261MITPHPPHP ^8.0

Since Oct 4Pushed 3y agoCompare

[ Source](https://github.com/Raidkeeper/battlenet-api)[ Packagist](https://packagist.org/packages/raidkeeper/battlenet-api)[ RSS](/packages/raidkeeper-battlenet-api/feed)WikiDiscussions main Synced 4d ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

Battlenet WoW API Client
========================

[](#battlenet-wow-api-client)

[![Build Status](https://camo.githubusercontent.com/d67c7e072fde255027538da4ae79d40e2684cd4ff3ca78fbeaad464d5bb46aa6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f726169646b65657065722f626174746c656e65742d6170693f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/d67c7e072fde255027538da4ae79d40e2684cd4ff3ca78fbeaad464d5bb46aa6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f726169646b65657065722f626174746c656e65742d6170693f7374796c653d666f722d7468652d6261646765) [![Code Climate coverage](https://camo.githubusercontent.com/5e421467d338d5f90b2ca9117528a4777108653ff73cd4ba90c6ddc56c847ae5/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f526169646b65657065722f626174746c656e65742d6170693f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/5e421467d338d5f90b2ca9117528a4777108653ff73cd4ba90c6ddc56c847ae5/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f526169646b65657065722f626174746c656e65742d6170693f7374796c653d666f722d7468652d6261646765) [![Code Climate maintainability](https://camo.githubusercontent.com/b0abb110f53a0f54103d581af4029a0469714d729c749ad9e71cda72a739966a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f526169646b65657065722f626174746c656e65742d6170693f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/b0abb110f53a0f54103d581af4029a0469714d729c749ad9e71cda72a739966a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f526169646b65657065722f626174746c656e65742d6170693f7374796c653d666f722d7468652d6261646765)

This is an API client for Blizzard's World of Warcraft game, primarily used by [Raidkeeper](https://raidkeeper.com) but available for use with any application.

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

[](#installation)

You should install this using composer:

```
composer require raidkeeper/battlenet-api
```

Usage
-----

[](#usage)

```
// You will need a Battlnet ClientID and ClientSecret from https://api.battlenet.com
$clientId     = 'foobar';
$clientSecret = 'fizzbuzz';
$region       = 'us';

// The Battlenet client grants access to the API
$client = new Raidkeeper\Api\Battlenet\Client($region, $clientId, $clientSecret);

// Create a new Character object to interact with the
$character = $client->loadCharacter('charname', 'sargeras');

// Once you have the Character object, you can start reaching out to API endpoints
$data  = $character->getProfile();
$data2 = $character->getEquipment();
```

License
-------

[](#license)

This library is published under the [MIT License](/LICENSE)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

3

Last Release

1265d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/raidkeeper-battlenet-api/health.svg)

```
[![Health](https://phpackages.com/badges/raidkeeper-battlenet-api/health.svg)](https://phpackages.com/packages/raidkeeper-battlenet-api)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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