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 View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2024-05-23 (9 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 73 This week: 26All time: 10,213 This week: 3Up
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: 2 packages by
Country: Nigeria Nigeria

  Files folder image Files  
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  /  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  /  src  /  Contract  
File Role Description
  Plain text file TimeBasedOTP.php Class Class source

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

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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:73
This week:26
All time:10,213
This week:3Up