2amigos / 2fa-library
2 Factor Authentication (2FA) library
Installs: 222 581
Dependents: 8
Suggesters: 4
Security: 0
Stars: 34
Watchers: 5
Forks: 6
Open Issues: 3
Requires
- php: >=7.4
- 2amigos/qrcode-library: ^2.0|^3.0
- paragonie/constant_time_encoding: ^1.4|^2.0|9.99.99
- paragonie/random_compat: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.45
- phpmd/phpmd: @stable
- phpunit/phpunit: ^9.6
- psr/container: ^2.0.1|^2.0.2
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-11-20 10:24:49 UTC
README
This library allows developers to implement Time Based One Time Passwords (TOTP) for the PHP implementation of the 2factor Authentication (2FA), supporting both the HMAC-based one-time password (HOTP) and the time-based one-time passwords (TOTP).
Documentation
You can read the latest docs on http://2fa-library.readthedocs.io/en/latest/
Contributing
Please see CONTRIBUTING for details.
Credits
License
The BSD License (BSD). Please see License File for more information.
Web development has never been so fun!
www.2amigos.us