Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 534 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 534 Bytes

php-steam-totp

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=");