melodykimball / php-otp
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
Requires (Dev)
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0
- squizlabs/php_codesniffer: ^3.11
README
Simple implementation of HMAC/time-based one-time passwords in PHP.
Usage
See bin/demo.php as a simple demonstration.
Resources
- RFC-4226 - HOTP: An HMAC-Based One-Time Password Algorithm
- RFC-6238 - TOTP: Time-Based One-Time Password Algorithm
License
This project is distributed under the MIT License (MIT). Please see License File for more information.