Download the PHP package sebastiandevs/simplethenticator without Composer
On this page you can find all versions of the php package sebastiandevs/simplethenticator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sebastiandevs/simplethenticator
More information about sebastiandevs/simplethenticator
Files in sebastiandevs/simplethenticator
Download sebastiandevs/simplethenticator
More information about sebastiandevs/simplethenticator
Files in sebastiandevs/simplethenticator
Vendor sebastiandevs
Package simplethenticator
Short Description TOTP based on https://github.com/PHPGangsta/GoogleAuthenticator updated and reworked to php8.2 because of inactivity of the original creator.
License BSD-2-Clause
Homepage https://poetter-sebastian.github.io/
Package simplethenticator
Short Description TOTP based on https://github.com/PHPGangsta/GoogleAuthenticator updated and reworked to php8.2 because of inactivity of the original creator.
License BSD-2-Clause
Homepage https://poetter-sebastian.github.io/
Please rate this library. Is it a good library?
Informations about the package simplethenticator
SimpleThenticator
- Copyright (c) 2025, https://poetter-sebastian.github.io
- Author: Sebastian Pötter, (@PHPGangsta, contributors) and contributors
- Licensed under the BSD 2-Clause "Simplified" License.
This class can generate secrets, generate codes, validate codes and present a QR-Code for scanning the secret. It implements TOTP according to RFC6238
Other hash functions other than SHA1 only work for Google-Authenticator at the moment!
Example:
Look at the function TestGenerator() in tests
Or use this sample script:
output:
Installation:
Composer
- To use this package perform the following command:
Simple usage
- To use the class just import the SimpleAuthenticator.php as in your PHP code
Run Tests:
- All tests are inside the tests folder.
- Execute
composer run-script build-devto install all dependencies - Execute
composer run-script testto run all tests in the test folder
Better library:
- For better code or complex implementations: please use RobThree/TwoFactorAuth!
All versions of simplethenticator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package sebastiandevs/simplethenticator contains the following files
Loading the files please wait ...