PHPackages                             fisk/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fisk/steam-inventory

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fisk/steam-inventory
====================

The Steam inventory toolkit

1.1.1(5y ago)21.1kBSD-2-ClausePHPPHP ^7.1 || ^8.0CI failing

Since Dec 3Pushed 5y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (2)Versions (8)Used By (0)

php-steam-inventory [![Travis](https://camo.githubusercontent.com/62cda0348f1420b27657a5762449dc4e4ef2422e1c427fc346eb11848961266e/68747470733a2f2f6170692e7472617669732d63692e6f72672f6669736b69652f7068702d737465616d2d696e76656e746f72792e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/62cda0348f1420b27657a5762449dc4e4ef2422e1c427fc346eb11848961266e/68747470733a2f2f6170692e7472617669732d63692e6f72672f6669736b69652f7068702d737465616d2d696e76656e746f72792e7376673f6272616e63683d6d6173746572)
===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-steam-inventory--)

It is not uncommon for thousands of items to exist in a single Steam inventory, and this can mean a lot of data to parse at the same time! This PHP library aims to provide a simple interface to the Steam Community inventory APIs, while making use of paginated requests to keep inventories manageable in low-memory environments.

This library comes from the experience of someone who has used these APIs for years. I hope this becomes useful for your PHP project.

Composer
--------

[](#composer)

```
composer require fisk/steam-inventory

```

Quick start
-----------

[](#quick-start)

```
getInventory(new \SteamInventory\InventoryQuery(
    "76561198012598620", // steamid
    440                  // appid
));

foreach ($inventory->getItems() as $item) {
    $asset = $item->getAsset();
    $description = $item->getDescription();
    (...)
}

```

What's inside
-------------

[](#whats-inside)

- PHP bindings for the Steam community inventory APIs.
- Seamless, configurable iteration of paginated inventory data.
- Pairing of assets with their item descriptions.
- A simple inventory transport that implements `InventoryTransportInterface`. You may swap this out if you need to change how you make web requests.
- Tests, to make sure this library stays sane.

By default, the items fetched per page is enough to fetch a whole inventory. This is a trade-off depending on your use case; if you make too many requests, you may be subject to hitting request limits. On the other hand, you may run into memory issues if you try to process too many items at the same time.

Please note that this library does not handle exceptions thrown from network errors.

Configuration
-------------

[](#configuration)

`Configuration` accepts the following keys:

- `language` -- the language used for description strings. Defaults to `english`. Note that this isn't a guarantee, as some games may not be subject to i18n.
- `page_size` -- the number of items to retrieve per request. Defaults to 5000.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

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

Every ~216 days

Recently: every ~323 days

Total

7

Last Release

1834d ago

Major Versions

0.2.0 → 1.0.02018-03-04

PHP version history (2 changes)0.1.0PHP ^7.0

1.1.0PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/10fa3c8961248118241ba63d476e8bd5fc54fe67b5710bd676383d3ceb1d1f59?d=identicon)[fisk](/maintainers/fisk)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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