PHP code example of allyans3 / php-steam-totp

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

    

allyans3 / php-steam-totp example snippets



SteamTotp\SteamTotp;

echo "Login code: " . SteamTotp::getAuthCode("cnOgv/KdpLoP6Nbh0GMkXkPXALQ=");
composer