Skip to content

0.1.0

Choose a tag to compare

@fkrzski fkrzski released this 03 Jun 06:03
· 268 commits to master since this release
Immutable release. Only release title and notes can be modified.
eb7286c

First public release of php-steam-api-sdk — a framework-agnostic PHP SDK for the Steam Web API, built on Saloon v4.

Highlights

  • Strongly typed — PHP 8.5, PHPStan max, 100% type coverage, readonly DTOs with DateTimeImmutable.
  • Zero framework coupling — a Laravel bridge ships separately.
  • Daily 100 000-request rate limit baked in via saloonphp/rate-limit-plugin; swap in any RateLimitStore (Predis, PSR-16, custom).

What's included

  • SteamConnector + SteamConfig (API key, optional rate-limit store).

  • SteamId value object — strict fromSteamId64(), lenient tryFromInput(), extractVanityName().

  • Requests returning readonly DTOs:

    • ResolveVanityUrlRequest
    • GetPlayerSummariesRequest (batch, ≤100 IDs)
    • GetOwnedGamesRequest
    • GetUserStatsForGameRequest
    • GetPlayerAchievementsRequest
  • Domain exception hierarchy rooted at SteamApiException.

  • Strongly typed — PHP 8.5, PHPStan max, 100% type coverage, readonly DTOs with DateTimeImmutable.

  • Zero framework coupling — a Laravel bridge ships separately.

  • Daily 100 000-request rate limit baked in via saloonphp/rate-limit-plugin; swap in any RateLimitStore (Predis, PSR-16, custom).

Requirements

  • PHP 8.5+

Install

composer require fkrzski/php-steam-api-sdk

Full changelog: see Changelog.