Repository navigation
0.1.0
·
268 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
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 anyRateLimitStore(Predis, PSR-16, custom).
What's included
-
SteamConnector+SteamConfig(API key, optional rate-limit store). -
SteamIdvalue object — strictfromSteamId64(), lenienttryFromInput(),extractVanityName(). -
Requests returning readonly DTOs:
ResolveVanityUrlRequestGetPlayerSummariesRequest(batch, ≤100 IDs)GetOwnedGamesRequestGetUserStatsForGameRequestGetPlayerAchievementsRequest
-
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 anyRateLimitStore(Predis, PSR-16, custom).
Requirements
- PHP 8.5+
Install
composer require fkrzski/php-steam-api-sdkFull changelog: see Changelog.