PHPackages                             clegginabox/xbox-api-sdk - 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. clegginabox/xbox-api-sdk

ActiveLibrary[API Development](/categories/api)

clegginabox/xbox-api-sdk
========================

PHP SDK for the Unofficial Xbox API

1403PHP

Since Jun 30Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Xbox PHP API SDK
================

[](#xbox-php-api-sdk)

This is an unofficial SDK for

Usage
=====

[](#usage)

```
include_once 'vendor/autoload.php';

$xbox = new \Clegginabox\Xbox\ApiClient('your-api-key');

$xuid = $xbox->getXuidByGamertag('clegginabox');
$userProfile = $xbox->getProfile($xuid);
$presence = $xbox->getPresence($xuid);
$gamerCard = $xbox->getGamercard($xuid);
$activity = $xbox->getActivity($xuid);
$recentActivity = $xbox->getRecentActivity($xuid);
$friends = $xbox->getFriends($xuid);
$gameClips = $xbox->getGameClips($xuid);
```

Better documentation to follow

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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://www.gravatar.com/avatar/6d7fe3d065bd33b04387a6f390c65350e9f87972da99e0e0b8e681f0163004fa?d=identicon)[clegginabox](/maintainers/clegginabox)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/clegginabox-xbox-api-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/clegginabox-xbox-api-sdk/health.svg)](https://phpackages.com/packages/clegginabox-xbox-api-sdk)
```

###  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

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

PHPackages © 2026

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