2amigos / 2fa-library
2 Factor Authentication (2FA) library
Installs: 158 007
Dependents: 7
Suggesters: 4
Security: 0
Stars: 31
Watchers: 5
Forks: 4
Open Issues: 2
Requires
- php: >=7.3
- 2amigos/qrcode-library: ^2.0
- paragonie/constant_time_encoding: ^1.4|^2.0|9.99.99
- paragonie/random_compat: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.3
- phpmd/phpmd: @stable
- phpunit/phpunit: ^6.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: *
Suggests
- 2amigos/2fa-library: To be able to create inline QrCodes data uri schemes with logos and labels
This package is auto-updated.
Last update: 2023-08-29 01:49:26 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