PHPackages                             iceq1337/steam-inventory-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. iceq1337/steam-inventory-api

ActiveLibrary[API Development](/categories/api)

iceq1337/steam-inventory-api
============================

PHP library to fetch items from the Steam inventory

1.1.0(2y ago)113MITPHPPHP ^8.1

Since Jun 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/IceQ1337/php-steam-inventory)[ Packagist](https://packagist.org/packages/iceq1337/steam-inventory-api)[ Docs](https://github.com/IceQ1337/php-steam-inventory)[ RSS](/packages/iceq1337-steam-inventory-api/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (9)Used By (0)

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

[](#php-steam-inventory)

[![Latest Stable Version](https://camo.githubusercontent.com/7413f5f648c8c57c8cafde2ebe0d42eb861a6eb2caa4ef75592a69da6c12fe14/687474703a2f2f706f7365722e707567782e6f72672f69636571313333372f737465616d2d696e76656e746f72792d6170692f763f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iceq1337/steam-inventory-api) [![Total Downloads](https://camo.githubusercontent.com/536680a389abb22b8a8acb38bdef0d30192387c834ff2c046be21bd85fd0c3b1/687474703a2f2f706f7365722e707567782e6f72672f69636571313333372f737465616d2d696e76656e746f72792d6170692f646f776e6c6f6164733f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iceq1337/steam-inventory-api) [![PHP Version Require](https://camo.githubusercontent.com/c918592d6fb1d02ae047f10982fa62564f8a5b8a9a9edbeea8666dc887a98b41/687474703a2f2f706f7365722e707567782e6f72672f69636571313333372f737465616d2d696e76656e746f72792d6170692f726571756972652f7068703f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iceq1337/steam-inventory-api) [![License](https://camo.githubusercontent.com/b466edf4573191fe7eca183192153da10e22f1ee20f7ae7fe9dbeb6883005716/687474703a2f2f706f7365722e707567782e6f72672f69636571313333372f737465616d2d696e76656e746f72792d6170692f6c6963656e73653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iceq1337/steam-inventory-api)

This library provides an easy way to access the public Steam Inventory API () from your PHP code. It provides a simple interface to retrieve a Steam user's inventory from the API with information about the items in it.

Using this API does not require an API key, but as it is not part of the Steam Web API, the rate limit of 100,000 requests per day does not apply. Instead, the rate limit for this API is extremely low. So use this API or rather this library with caution.

While using this API is generally discouraged, it has been part of Steam since forever and despite or perhaps because its rework in 2016, it is probably here to stay.

The library is designed to be easily extendable by other developers. It should be well documented and includes a comprehensive test suite.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1

This library supports all [officially and actively supported PHP versions](https://www.php.net/supported-versions.php).

See the `composer.json` for other requirements.

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

[](#installation)

```
composer require iceq1337/php-steam-inventory
```

Usage
-----

[](#usage)

```
use SteamInventory\Inventory;

$options = [
    'steamid' => '76561198129782984',
    'appid' => 753, // default: 753
    'contextid' => 6, // default: 6
    'language' => 'english', // default: 'english'
    'all_items' => false, // default: false
    'count' => 100, // default: 500, max: 5000
    'start_assetid' => null, // default: null, used for consecutive requests
];

$inventory = new Inventory($options);
$items = $inventory->getItems();
$total = $inventory->total_inventory_count;

foreach ($items as $item) {
    echo $item->getName() . "";
}
```

### Contributing

[](#contributing)

There are currently no contributing guidelines. In order to contribute to the project, please follow the GitHub Standard Fork &amp; Pull Request Workflow.

- **Fork** this repository on GitHub.
- **Clone** the project to your own machine.
- **Commit** changes to your own branch.
- **Push** your work to your own fork.
- Submit a **Pull Request** so I can review your changes

Please make sure you always run the tests and apply the code style before submitting your pull request. All tests and the code style workflow must pass in order for the pull request to be approved and merged.

```
composer run test
composer run lint
```

### License

[](#license)

This library is licensed under the [MIT license](https://github.com/IceQ1337/php-steam-inventory/blob/master/LICENSE).

### Credits

[](#credits)

Parts of this library are based on [PHP Steam Inventory](https://github.com/matthewlilley/php-steam-inventory) published by [matthewlilley](https://github.com/matthewlilley) in 2018.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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 ~86 days

Recently: every ~150 days

Total

8

Last Release

870d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.0.1PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a480af41c1493ad2c4cd4a34a8660686b16be8164e2fe8fa3431761853f8690?d=identicon)[IceQ1337](/maintainers/IceQ1337)

---

Top Contributors

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

---

Tags

apisteaminventorysteam apisteam inventorysteam-web-apisteam-communitysteam-itemssteam-trading-cardssteam-gemssteam-emoticonssteam-backgroundscsgo-itemscs2-itemstf2-itemsdota2-itemsvalve-software

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

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

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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