PHP code example of signpostmarv / steam-id

1. Go to this page and download the library: Download signpostmarv/steam-id 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/ */

    

signpostmarv / steam-id example snippets


new \SignpostMarv\SteamId\SteamId(0, 0, 0, 0, 6);

use SignpostMarv\SteamId\Parser;

$parser = new Parser();

$id = $parser->FromString('76561197960287930');

$url = $parser->ToSteamCommunityUrl($id);