tankonyako / php-steam-totp
PHP library to deal with Steam's proprietary TOTP algorithm
dev-master
2023-02-02 13:11 UTC
This package is auto-updated.
Last update: 2024-10-30 02:16:18 UTC
README
This forks removes deprecated warnings on PHP 8
composer require tankonyako/php-steam-totp
https://packagist.org/packages/tankonyako/php-steam-totp
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=");