doctormckay / steamid
PHP SteamID Manipulation
Installs: 36 964
Dependents: 1
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 8
Open Issues: 0
Requires
- phpseclib/phpseclib: ^3.0.10
This package is auto-updated.
Last update: 2024-12-10 10:49:59 UTC
README
SteamID class for PHP. The class is documented with phpdoc, just read it to find out how to use it.
Works on both 32 and 64-bit PHP.
node.js version is also available, which can be browserified pretty easily.
Example
<?php require_once 'vendor/autoload.php'; use SteamID\SteamID; $steamid = new SteamID('76561197960435530'); echo "SteamID2: " . $steamid->getSteam2RenderedID() . PHP_EOL; echo "SteamID3: " . $steamid->getSteam3RenderedID() . PHP_EOL; echo "SteamID64: " . $steamid->getSteamID64() . PHP_EOL;