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

ActiveLibrary

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 1mo 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 27% 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://www.gravatar.com/avatar/6f0176df56d7dd6ef9eb453f81458cc0aa860bdb95585a407e3c0f18db6e2d60?d=identicon)[MatthewLilley](/maintainers/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)
```

PHPackages © 2026

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