PHPackages                             logansua/blizzard-api-client - 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. logansua/blizzard-api-client

ActiveLibrary[API Development](/categories/api)

logansua/blizzard-api-client
============================

API client for blizzard API written in PHP

v2.0.2(9y ago)292.5k13[2 issues](https://github.com/LogansUA/blizzard-api-php-client/issues)[1 PRs](https://github.com/LogansUA/blizzard-api-php-client/pulls)MITPHPPHP &gt;=5.6.0

Since Dec 16Pushed 7y ago8 watchersCompare

[ Source](https://github.com/LogansUA/blizzard-api-php-client)[ Packagist](https://packagist.org/packages/logansua/blizzard-api-client)[ Docs](https://github.com/LogansUA/blizzard-api-php-client)[ RSS](/packages/logansua-blizzard-api-client/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

Blizzard API PHP Client
=======================

[](#blizzard-api-php-client)

API client for Blizzard API written in PHP. [Blizzard API Documentation](https://dev.battle.net/io-docs)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d6fc6890b1efa05b82eb00459803e8a9dfb85e7c5f1602cfa63be61704bfa3f8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c6f67616e7355412f626c697a7a6172642d6170692d7068702d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LogansUA/blizzard-api-php-client/?branch=master)[![Build Status](https://camo.githubusercontent.com/7cf9f180f39ca1ea0a1442c2e3f904a36948645c90c13221392a224fc7bac274/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c6f67616e7355412f626c697a7a6172642d6170692d7068702d636c69656e742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LogansUA/blizzard-api-php-client/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/4fa2059451429f29359eb219925b7265ad0d7fa686bcda732d2bc5b3fe57feb2/68747470733a2f2f706f7365722e707567782e6f72672f6c6f67616e7375612f626c697a7a6172642d6170692d636c69656e742f762f737461626c65)](https://packagist.org/packages/logansua/blizzard-api-client)[![Total Downloads](https://camo.githubusercontent.com/7b124e03a7720880a88a715477c8fccf76dab5a3f4efdb910b4c6aceac2e4f0b/68747470733a2f2f706f7365722e707567782e6f72672f6c6f67616e7375612f626c697a7a6172642d6170692d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/logansua/blizzard-api-client)[![SensioLabsInsight](https://camo.githubusercontent.com/e0f2097b5e62a1de82749ec2ad11c72da39288cdff896808fec2dfcdf7db8a51/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62313033353233642d376634362d346337342d393466392d6366343134363262323938612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/b103523d-7f46-4c74-94f9-cf41462b298a)

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

[](#installation)

```
$ composer require logansua/blizzard-api-client

```

This command requires you to have Composer installed globally, as explained in the [Composer documentation](https://getcomposer.org/doc/00-intro.md).

Basic usage
-----------

[](#basic-usage)

```
// Include composer autoload file
require_once __DIR__.'/../vendor/autoload.php';

// Create a new Blizzard client with Blizzard API key and secret
$client = new \BlizzardApi\BlizzardClient('apiKey', 'apiSecret');

// Create a new API service with configured Blizzard client
$diablo = new \BlizzardApi\Service\Diablo($client);

// Use API method for getting specific data
$response = $diablo->getItemDataById('Unique_Shoulder_103_x1');

// Show response body
echo $response->getBody();
```

List of available API services
------------------------------

[](#list-of-available-api-services)

- World of Warcraft ([example](docs/examples/WorldOfWarcraftExample.php))
- Diablo 3 ([example](docs/examples/DiabloExample.php))
- Starcraft ([example](docs/examples/StarcraftExample.php))
- Community OAuth ([example](docs/examples/CommunityOAuthExample.php))
- Game Data ([example](docs/examples/GameDataExample.php))

Contributing
------------

[](#contributing)

See [CONTRIBUTING](.github/CONTRIBUTING.md) file.

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 91.4% 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 ~41 days

Recently: every ~104 days

Total

12

Last Release

3394d ago

Major Versions

v0.1.4 → v1.0.02015-12-28

v1.1.1 → v2.0.02016-12-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7515743?v=4)[Oleh Kachynskyi](/maintainers/LogansUA)[@LogansUA](https://github.com/LogansUA)

---

Top Contributors

[![LogansUA](https://avatars.githubusercontent.com/u/7515743?v=4)](https://github.com/LogansUA "LogansUA (53 commits)")[![hristomitev](https://avatars.githubusercontent.com/u/10433408?v=4)](https://github.com/hristomitev "hristomitev (3 commits)")[![duronrulez](https://avatars.githubusercontent.com/u/981088?v=4)](https://github.com/duronrulez "duronrulez (1 commits)")[![illepic](https://avatars.githubusercontent.com/u/295127?v=4)](https://github.com/illepic "illepic (1 commits)")

---

Tags

api-clientbattle-netbattlenetblizzardblizzard-apiblizzard-oauthdiablo3phpstarcraft2world-of-warcraftwowapiclientblizzardworld of warcraft

### Embed Badge

![Health badge](/badges/logansua-blizzard-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/logansua-blizzard-api-client/health.svg)](https://phpackages.com/packages/logansua-blizzard-api-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k8.8M83](/packages/openai-php-laravel)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

596.2M35](/packages/resend-resend-php)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

26575.0k3](/packages/apigee-apigee-client-php)

PHPackages © 2026

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