zeropingheroes / steam-apis
Interface with Steam's APIs.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/zeropingheroes/steam-apis
Requires
- php: ^8.1
- ext-json: *
- illuminate/collections: ^9.0 || ^10.0 || ^11.0 || ^12.0
- illuminate/support: ^9.0 || ^10.0 || ^11.0 || ^12.0
- saloonphp/laravel-plugin: ^3.0
- saloonphp/pagination-plugin: ^2.0
- saloonphp/saloon: ^3.0
- spatie/laravel-data: ^4.0
- xpaw/steamid: ^4.0
Requires (Dev)
- astrotomic/phpunit-assertions: ^0.12.0
- laravel/pint: ^1.13.6
- orchestra/testbench: ^7.0 || ^8.0 || ^9.0 || ^10.0
- pestphp/pest: ^1.23.1
- pestphp/pest-plugin-laravel: ^1.4
This package is auto-updated.
Last update: 2026-02-25 22:25:56 UTC
README
Interface with Steam's APIs using PHP.
Forked with ❤️ from Astrotomic/steam-sdk.
Installation
composer require zeropingheroes/steam-apis
In your Laravel project's config/services.php add your Steam API key:
<?php return [ 'steam' => [ 'api_key' => env('STEAM_API_KEY'), ], ];
Usage example
$steam = app(\Zeropingheroes\SteamApis\SteamConnector::class); $steam->getPlayerSummaries($steamid);
Implemented requests
| Steam API | Steam Interface | Method |
|---|---|---|
| Web API | ISteamApps |
getAppList() |
| Web API | ISteamNews |
getNewsForApp() |
| Web API | ISteamUser |
getFriendList() |
| Web API | ISteamUser |
getPlayerBans() |
| Web API | ISteamUser |
getPlayerSummaries() |
| Web API | ISteamUser |
resolveVanityUrl() |
| Web API | IPlayerService |
getRecentlyPlayedGames() |
| Web API | IPlayerService |
getSteamLevel() |
| Web API | ISteamUserStats |
getGlobalAchievementPercentagesForApp() |
| Web API | ISteamWebAPIUtil |
getSupportedApiList() |
| Community API | ? | queryLocations() |
For more information on Steam's APIs, see:
- https://partner.steamgames.com/doc/webapi
- https://steamapi.xpaw.me/
- https://steamcommunity.com/dev
- https://developer.valvesoftware.com/wiki/Steam_Web_API
Contributing
Fork the repository, implement one feature or bugfix in a new branch and send a pull request.
Good examples of first contributions are implementing missing requests or fixing bugs.
This project uses Saloon to implement Steam API requests.
License
The MIT License (MIT). See License File for more information.