OTP Documentation

OTP Documentation#

Standalone OTP and MFA primitives for PHP.

The library includes:

  • TOTP (RFC6238)

  • HOTP (RFC4226)

  • OCRA (RFC6287)

  • Generic OTP backed by PSR-6 cache storage

  • Recovery / backup codes

  • Replay protection contracts and in-memory stores

  • otpauth:// provisioning URI generation and parsing

Guides

Indices and tables#