PHPackages                             vinevax/steam-php-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. vinevax/steam-php-api

ActiveLibrary[API Development](/categories/api)

vinevax/steam-php-api
=====================

PHP Client for accessing the Steam API

v1.1.1(2y ago)091↓75%MITPHPPHP ^8.2

Since Dec 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vinevax/steam-php-api)[ Packagist](https://packagist.org/packages/vinevax/steam-php-api)[ RSS](/packages/vinevax-steam-php-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Steam PHP API
=============

[](#steam-php-api)

[![License](https://camo.githubusercontent.com/69fe384a6e4206b2b313ecf5352d00eaa0b751be314de2c4c5d7d38d6e0b37a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76696e657661782f737465616d2d7068702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vinevax/steam-php-api)[![Latest Version on Packagist](https://camo.githubusercontent.com/18fa63c56b2e61f73a6d44065fc86066766b6b00a694a5c3fb9643056d775aff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76696e657661782f737465616d2d7068702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vinevax/steam-php-api)[![Total Downloads](https://camo.githubusercontent.com/ea109bebd8fc824f9065ef891c017fda991334db8d888273366263a705c61ee1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76696e657661782f737465616d2d7068702d6170693f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vinevax/steam-php-api)

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

[](#installation)

```
composer require "vinevax/steam-php-api"
```

Usage
-----

[](#usage)

First create a new instance of `VineVax\SteamPHPApi\SteamClient` with your API key. You can get your API key from [here](https://steamcommunity.com/dev/apikey).

```
use VineVax\SteamPHPApi\SteamClient;

$steam = new SteamClient('YOUR_API_KEY');
```

### Available methods

[](#available-methods)

Get game news

```
$steam->getNewsForApp(appId: 440, count: 3, maxlength: 300);
```

Get global achievements overview

```
$steam->getGlobalAchievementPercentagesForApp(appId: 440);
```

Get player summaries (accepts 1 steamid or an array of steamids)

```
$steam->getPlayerSummaries(steamIds: 76561197960435530);
$steam->getPlayerSummaries(steamIds: [76561197960435530, 76561197960435531]);
```

Get player friend list

```
$steam->getFriendList(steamId: 76561197960435530, relationship: 'friend');
```

Get player achievements

```
$steam->getPlayerAchievements(steamId: 76561197960435530, appId: 440, language: \VineVax\SteamPHPApi\Enums\Language::ENGLISH);
```

Get player stats for game

```
$steam->getPlayerStatsForGame(steamId: 76561197960435530, appId: 440, language: \VineVax\SteamPHPApi\Enums\Language::ENGLISH);
```

Get owned games

```
$steam->getOwnedGames(steamId: 76561197960435530, includeAppInfo: true, includeFreeGames: true);
```

Get recently played games

```
$steam->getRecentlyPlayedGames(steamId: 76561197960435530, count: 15);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

878d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/889ce0c564de5f198677300dcbd97c1179181030a684ef99c0de1261945d8d3b?d=identicon)[vinevax](/maintainers/vinevax)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vinevax-steam-php-api/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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