allyans3 / php-steam-totp
PHP library to deal with Steam's proprietary TOTP algorithm
Installs: 8 004
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 7
pkg:composer/allyans3/php-steam-totp
This package is auto-updated.
Last update: 2025-09-21 23:26:19 UTC
README
This forks removes deprecated warnings on PHP 8
composer require allyans3/php-steam-totp
https://packagist.org/packages/allyans3/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=");