PHPackages                             bramdevries/guildwars2-php-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. bramdevries/guildwars2-php-api

ActiveLibrary[API Development](/categories/api)

bramdevries/guildwars2-php-api
==============================

Wrapper around the Guild Wars 2 public API.

1.0(11y ago)0201[1 PRs](https://github.com/bramdevries/guildwars2-php-api/pulls)MITPHP

Since Jul 13Pushed 3y agoCompare

[ Source](https://github.com/bramdevries/guildwars2-php-api)[ Packagist](https://packagist.org/packages/bramdevries/guildwars2-php-api)[ RSS](/packages/bramdevries-guildwars2-php-api/feed)WikiDiscussions master Synced 3w ago

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

Guild Wars 2 PHP Api
====================

[](#guild-wars-2-php-api)

> Wrapper around the Guild Wars 2 public API.

The current version supports v1 of the Guild Wars 2 API.

Usage
-----

[](#usage)

The easiest way to instantiate is using the following snippet:

```
$client = new GuildWars2\Client();
```

You can also set the locale.

```
$client = new GuildWars2\Client([
	'locale' => 'fr',
]);
```

Once you have an instance you have access to all the endpoints.

```
$client->api('build')->build();
```

Available methods
-----------------

[](#available-methods)

EndpointMethodParametersExample**build**build*none*`	$client->api('build')->build()`**colors**colors*none*`	$client->api('colors')->colors()`**files**files*none*`	$client->api('files')->files()`**files**filestring signature, int file\_id`	$client->api('files')->file('943538394A94A491C8632FBEF6203C2013443555', 102478)`**map**continents*none*`	$client->api('map')->continents()`**map**maps*none*`	$client->api('map')->maps()`**map**mapes(optional) int map\_id`	$client->api('map')->maps(15)`**map**floorsint continent\_id, int floor`	$client->api('map')->floors(1, 1)`**map**names*none*`	$client->api('map')->names()`**wvw**matches*none*`	$client->api('wvw')->matches()`**wvw**objectives*none*`	$client->api('wvw')->objectives()`**wvw**matchstring match\_id`	$client->api('wvw')->match('2-2')`**guild**byIdstring guild\_id`	$client->api('guild')->byId("75FD83CF-0C45-4834-BC4C-097F93A487AF")`**guild**byNamestring guild\_name`	$client->api('guild')->byName("Veterans Of Lions Arch")`**items**items*none*`$client->api('items')->items()`**items**itemint item\_id`$client->api('items')->item(28445)`**items**skins*none*`$client->api('items')->skins()`**items**skinint skin\_id`$client->api('items')->skin(1350)`**items**recipes*none*`$client->api('items')->recipes()`**items**recipeint recipe\_id`$client->api('items')->recipe(1275)`**events**names*none*`$client->api('events')->names()`**events**event(optional) string event\_id`$client->api('events')->event("4B212997-CEF0-4B2C-91BE-B787A6A32DE9")`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Unknown

Total

1

Last Release

4373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/041cdc8fc831716b7f56c3ddf84169ea1d97ca91e9ea90b42be88d73c404ff8a?d=identicon)[bramdevries](/maintainers/bramdevries)

---

Top Contributors

[![bramdevries](https://avatars.githubusercontent.com/u/1002245?v=4)](https://github.com/bramdevries "bramdevries (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bramdevries-guildwars2-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/bramdevries-guildwars2-php-api/health.svg)](https://phpackages.com/packages/bramdevries-guildwars2-php-api)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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