Skip to content
O

Otp

Generate OTP with expiry for PHP without using Database

by tzskFree

#4573in Developer Tools
0In stores

Description

otp is a PHP library that creates and checks one-time passwords that expire, without keeping any of them in a database. It is designed mainl…

Highlights

  • Generates one-time codes that expire
  • No database table needed for issued codes
  • Laravel facade and helper function
  • Works in any PHP app, installed with Composer
  • Verification needs the same settings as generation

Ratings & Reviews

No ratings yet

Be the first to rate Otp.

People also visit

L

Laravel Otp

OTP generator and validator

Utilities
Launch
O

Otpauth

Implements two-step verification of HOTP/TOTP. Also known as one time password

Utilities
Launch
F

FreeOTP

Open source implementation of the two-factor authentication HOTP

Developer Tools
Launch
G

Google2fa Laravel

A One Time Password Authentication package, compatible

Utilities
Launch
O

Otp Authenticator Webapp

A 'Google Authenticator' like Single Page Application

Utilities
Launch
Z

Zero-TOTP

Complete, reliable, secure

Developer Tools
Launch

Otp FAQ

What does this package do?

It generates one-time passwords that expire after a set time and checks them against a secret, without writing them to a database.

Do I need a database?

No. A code is checked from the secret and its settings, so there is no table of issued OTPs to maintain.

Does it work outside Laravel?

Yes. Install it with Composer and use it in any PHP application. The Laravel facade and helper are optional.

How do I install it?

Install the package with Composer. In Laravel, publish the configuration file afterwards if you want to change the defaults.

Is the source public?

Yes. The package is published on GitHub, where its usage examples and options are documented.

What are the best Otp alternatives?

Popular alternatives to Otp include FreeOTP, Zero-TOTP and Vemto. See all Otp alternatives

Developer Stuff

Badges