PHP MIT

otphp

A PHP library for generating one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP)

S

Spomky-Labs

Dernière activité 1 sept. 2026
Spomky-Labs/otphp

1,5 k

étoiles

160

forks

6

issues ouvertes

hotpotpphprfc-4226rfc-6238rfc4226rfc6238totp

Ce README est souvent en anglais.

TOTP / HOTP library in PHP

Build Status

Latest Stable Version Total Downloads Latest Unstable Version License

A php library for generating one-time passwords according to RFC 4226 (HOTP Algorithm) and RFC 6238 (TOTP Algorithm)

This library is compatible with Google Authenticator apps available for Android and iPhone. It is also compatible with other applications such as FreeOTP for example.

Documentation

The documentation of this project is available in the doc folder.

Support

I bring solutions to your problems and answer your questions.

If you really love that project, and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of 🍻 or more!

Become a sponsor

Or

Become a Patreon

Contributing

Requests for new features, bug fixes and all other ideas to make this project useful are welcome.

Please report all issues in the repository bug tracker.

Also make sure to follow these best practices.

Licence

This software is release under the MIT licence.

Projets similaires

A small and easy-to-use one-time password generator library for Java implementing RFC 4226 (HOTP) and RFC 6238 (TOTP).

Java2fahotpjava
BBastiaanJansen
243 étoiles41

A one-time password (HOTP/TOTP) library for Java

Java2fahotpjava
Jjchambers
506 étoiles128

multiOTP open source strong two factor authentication PHP library, OATH certified, with TOTP, HOTP, Mobile-OTP, YubiKey, SMS, QRcode provisioning, etc.

PHP2faactive-directoryauthentication
MmultiOTP
454 étoiles94