PHPackages                             matthewlilley/php-steam-inventory - 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. matthewlilley/php-steam-inventory

ActiveLibrary[API Development](/categories/api)

matthewlilley/php-steam-inventory
=================================

A framework agnostic and extensible PHP wrapper for the Steam Inventory API (http://steamcommunity.com/inventory/).

4472PHP

Since Feb 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/MatthewLilley/php-steam-inventory)[ Packagist](https://packagist.org/packages/matthewlilley/php-steam-inventory)[ RSS](/packages/matthewlilley-php-steam-inventory/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Steam Inventory
===================

[](#php-steam-inventory)

A framework agnostic and extensible PHP wrapper for the Steam Inventory API

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

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
php composer.phar require matthewlilley/php-steam-inventory
```

Inventory Example
-----------------

[](#inventory-example)

```
$config = new \PHPSteamInventory\Configuration([
    'steamid' => '76561197969338647', // required
    'appid' => '730', // default 730
    'contextid' => '2', // default 2
    'language' => 'english', // default english
    'count' => '75', // default 75, max 5000 (also, overwritten to 5000 if all is set to true)
    'start_assetid' => null, // default null
    'proxy' => null, // default null
    'all' => false // default false
]);

$inventory = new \PHPSteamInventory\Inventory($configuration);

$inventory->items; // array of item objects
$inventory->total_inventory_count; // total items count
$inventory->last_assetid; // last assetid (set if there are more items)
$inventory->more_items; // more items (set to true if there are more items)
```

License
-------

[](#license)

[MIT](https://github.com/MatthewLilley/php-steam-inventory/blob/master/LICENSE)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

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/6063350?v=4)[Matthew Lilley](/maintainers/MatthewLilley)[@matthewlilley](https://github.com/matthewlilley)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/matthewlilley-php-steam-inventory/health.svg)

```
[![Health](https://phpackages.com/badges/matthewlilley-php-steam-inventory/health.svg)](https://phpackages.com/packages/matthewlilley-php-steam-inventory)
```

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