Download the PHP package sunnyvision/php-totp without Composer
On this page you can find all versions of the php package sunnyvision/php-totp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sunnyvision/php-totp
More information about sunnyvision/php-totp
Files in sunnyvision/php-totp
Download sunnyvision/php-totp
More information about sunnyvision/php-totp
Files in sunnyvision/php-totp
Vendor sunnyvision
Package php-totp
Short Description PHP TOTP implementation for rfc6238
License MIT
Package php-totp
Short Description PHP TOTP implementation for rfc6238
License MIT
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 sunnyvision/php-totp contains the following files
Loading the files please wait ....