PHPackages                             chrisob120/wowsdk-php - 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. chrisob120/wowsdk-php

AbandonedArchivedLibrary[API Development](/categories/api)

chrisob120/wowsdk-php
=====================

PHP SDK for Blizzard's WoW API

311PHP

Since Apr 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/chrisob120/wowsdk-php)[ Packagist](https://packagist.org/packages/chrisob120/wowsdk-php)[ RSS](/packages/chrisob120-wowsdk-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK for Blizzard's WoW API
==============================

[](#php-sdk-for-blizzards-wow-api)

[![experimental](https://camo.githubusercontent.com/be213fddfb34299305d04d4dc7ea0cfe0b9816cad43291c1b928143f4e2507bd/687474703a2f2f6261646765732e6769746875622e696f2f73746162696c6974792d6261646765732f646973742f6578706572696d656e74616c2e737667)](http://github.com/badges/stability-badges)

PHP WoW SDK is an SDK to interact the World of Warcraft API.

**Note:** This library utilizes [GuzzlePHP](http://guzzle.readthedocs.org/)

Main Features
-------------

[](#main-features)

- Services work with all applicable APIs ()
    - Achievement
    - Auction
    - Boss
    - Challenge Mode
    - Character Profile
    - Guild Profile
    - Item
    - Mount
    - Pet
    - PVP
    - Quest
    - Realm Status
    - Recipe
    - Resources
    - Spell
    - Zone
- Supports Blizzard's OAuth 2 authentication process to access user profile information
- Utilizes GuzzlePHP's LastModified header option with caching to decrease HTTP requests

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6
- cURL
- JSON

Installing via Composer
-----------------------

[](#installing-via-composer)

[Composer](http://getcomposer.org) is a dependency management tool for PHP which will allow you to easily add WoW SDK to your project. Simply add "chrisob120/wowsdk-php" to your project's composer.json file.

```
 {
    "require": {
        "chrisob120/wowsdk-php": "1.0.*"
    }
 }
```

Basic Usage
-----------

[](#basic-usage)

The WowApi class contains the services that hold the methods which allow you to access the WoW API. Basic access is quite simple and only requires your mashery API key.

```
use WowApi\WowApi;

$api = new WowApi('your mashery api key');
$api->bossService->getBoss(24723);
```

All optional parameters default to the US region with the 'en\_US' locale. These options can be adjusted as shown below. [Here](https://dev.battle.net/docs/read/community_apis) is a list of different regions and locales provided by Blizzard.

```
use WowApi\WowApi;

$options = [
    'region' => 'eu',
    'locale' => 'en_GB'
];

$api = new WowApi('your mashery api key', $options);
$api->bossService->getBoss(24723);
```

For more information, check out the [wiki](https://github.com/chrisob120/wowsdk-php/wiki) which includes:

- [Caching](https://github.com/chrisob120/wowsdk-php/wiki/Caching)
- [Examples](https://github.com/chrisob120/wowsdk-php/wiki/Examples)
- [OAuth](https://github.com/chrisob120/wowsdk-php/wiki/OAuth)
- [Parameters](https://github.com/chrisob120/wowsdk-php/wiki/Parameters)
- [Services](https://github.com/chrisob120/wowsdk-php/wiki/Services)

Todo
----

[](#todo)

- Improve services for common uses

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2671929?v=4)[Chris O'Brien](/maintainers/chrisob120)[@chrisob120](https://github.com/chrisob120)

---

Top Contributors

[![chrisob120](https://avatars.githubusercontent.com/u/2671929?v=4)](https://github.com/chrisob120 "chrisob120 (262 commits)")

### Embed Badge

![Health badge](/badges/chrisob120-wowsdk-php/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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