doctormckay/steam-totp

PHP library to deal with Steam's proprietary TOTP algorithm

v1.0.1 2016-09-13 12:59 UTC

This package is auto-updated.

Last update: 2024-10-28 11:43:39 UTC


README

PHP library for TOTP for use with Steam. It's documented with phpdoc; just read it to learn how to use it.

Only requirement is cURL.

Example

<?php
require_once 'vendor/autoload.php'; // if you're using composer

use SteamTotp\SteamTotp;

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