Download the PHP package greymich/php-totp without Composer
On this page you can find all versions of the php package greymich/php-totp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download greymich/php-totp
More information about greymich/php-totp
Files in greymich/php-totp
Download greymich/php-totp
More information about greymich/php-totp
Files in greymich/php-totp
Please rate this library. Is it a good library?
Informations about the package php-totp
PHP TOTP
Important notice
For PHP 8.0 or above please use ^2.0. For PHP below 8.0, use ^1.0.
This library is an implementation of totp (rfc6238) in php (currently only sha1)
Features
- PSR-4 autoloading compliant structure
- Unit-Testing with PHPUnit
- Easy to use to any framework or even a plain php file
- Supports SHA1 of HOTPTimeBased
Installation
Using composer (recommended):
In separate package:
Examples
To start randomize a base32 secret or create one from an ASCII string
Validate an OTP
Generate OTP registration uri (For QR scanning)
Tests
Test are run against SHA1 of rfc6238 suggested testing vectors
All versions of php-totp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package greymich/php-totp contains the following files
Loading the files please wait ....