PHP code example of doctormckay / steamid
1. Go to this page and download the library: Download doctormckay/steamid library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
doctormckay / steamid example snippets
SteamID\SteamID;
$steamid = new SteamID('76561197960435530');
echo "SteamID2: " . $steamid->getSteam2RenderedID() . PHP_EOL;
echo "SteamID3: " . $steamid->getSteam3RenderedID() . PHP_EOL;
echo "SteamID64: " . $steamid->getSteamID64() . PHP_EOL;