TOTP / HOTP library in PHP ========================== ![Build Status](https://github.com/spomky-labs/otphp/workflows/Integrate/badge.svg) ![Build Status](https://github.com/spomky-labs/otphp/workflows/Infection/badge.svg) [![Latest Stable Version](https://poser.pugx.org/spomky-labs/otphp/v/stable.png)](https://packagist.org/packages/spomky-labs/otphp) [![Total Downloads](https://poser.pugx.org/spomky-labs/otphp/downloads.png)](https://packagist.org/packages/spomky-labs/otphp) [![Latest Unstable Version](https://poser.pugx.org/spomky-labs/otphp/v/unstable.png)](https://packagist.org/packages/spomky-labs/otphp) [![License](https://poser.pugx.org/spomky-labs/otphp/license.png)](https://packagist.org/packages/spomky-labs/otphp) A php library for generating one-time passwords according to [RFC 4226](https://datatracker.ietf.org/doc/html/rfc4226) (HOTP Algorithm) and [RFC 6238](https://datatracker.ietf.org/doc/html/rfc6238) (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](https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp) for example. # Documentation The documentation of this project is available in the [*doc* folder](doc/index.md). # 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 :beers: or more! [Become a sponsor](https://github.com/sponsors/Spomky) Or [![Become a Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/FlorentMorselli) ## Contributing Requests for new features, bug fixed and all other ideas to make this project useful are welcome. Please report all issues in [the repository bug tracker](hhttps://github.com/Spomky-Labs/otphp/issues). Also make sure to [follow these best practices](.github/CONTRIBUTING.md). ## Licence This software is release under the [MIT licence](LICENSE).