allyans3/php-steam-totp

PHP library to deal with Steam's proprietary TOTP algorithm

Installs: 8 468

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 7

pkg:composer/allyans3/php-steam-totp

v1.0.0 2023-06-21 18:46 UTC

This package is auto-updated.

Last update: 2025-11-22 00:05:06 UTC


README

This forks removes deprecated warnings on PHP 8

composer require allyans3/php-steam-totp

https://pkgst.goldica.ir/b0dd72633a60ad0070e10de7b12c5322/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=");