PHP Classes

How to Use a PHP OTP Library that Can Generate Tokens without Using a Database with the PackageStanliwise TOTP: Generate and validate time-based OTP tokens

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-05-23 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 87 All time: 9,998 This week: 39Up
Version License PHP version Categories
totp 1.0.0BSD License7.4Algorithms, Time and Date, Validation, S..., P...
Description 

Author

This package can generate and validate time-based OTP tokens.

It uses a private secret to generate one-time password (OTP) token strings.

The package can also verify if a given token is valid considering the secret and the time that must not exceed a given limit.

Picture of Stanley Aloh
Name: Stanley Aloh <contact>
Classes: 3 packages by
Country: Nigeria Nigeria
Age: ???
All time rank: 435242 in Nigeria Nigeria
Week rank: 164 Up7 in Nigeria Nigeria Up

  Files folder image Files (7)  
File Role Description
Files folder imagesrc (4 files, 1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data

  Files folder image Files (7)  /  src  
File Role Description
Files folder imageContract (1 file)
  Plain text file Base32.php Class Class source
  Plain text file Factory.php Class Class source
  Plain text file TOTP.php Class Class source
  Plain text file Utils.php Class Class source

  Files folder image Files (7)  /  src  /  Contract  
File Role Description
  Plain text file TimeBasedOTP.php Class Class source

  Files folder image Files (7)  /  tests  
File Role Description
Files folder imageUnit (1 file)

  Files folder image Files (7)  /  tests  /  Unit  
File Role Description
  Accessible without login Plain text file HOTPTest.php Test Unit test class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:87
This week:0
All time:9,998
This week:39Up