| 1 |
TOTP / HOTP library in PHP |
| 2 |
========================== |
| 3 |
|
| 4 |
[](https://github.com/spomky-labs/otphp/actions/workflows/ci.yml) |
| 5 |
|
| 6 |
[](https://packagist.org/packages/spomky-labs/otphp) |
| 7 |
[](https://packagist.org/packages/spomky-labs/otphp) |
| 8 |
[](https://packagist.org/packages/spomky-labs/otphp) |
| 9 |
[](https://packagist.org/packages/spomky-labs/otphp) |
| 10 |
|
| 11 |
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) |
| 12 |
|
| 13 |
This library is compatible with Google Authenticator apps available for Android and iPhone. |
| 14 |
It is also compatible with other applications such as [FreeOTP](https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp) for example. |
| 15 |
|
| 16 |
# Documentation |
| 17 |
|
| 18 |
The documentation of this project is available in the [*doc* folder](doc/index.md). |
| 19 |
|
| 20 |
# Support |
| 21 |
|
| 22 |
I bring solutions to your problems and answer your questions. |
| 23 |
|
| 24 |
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! |
| 25 |
|
| 26 |
[Become a sponsor](https://github.com/sponsors/Spomky) |
| 27 |
|
| 28 |
Or |
| 29 |
|
| 30 |
[](https://www.patreon.com/FlorentMorselli) |
| 31 |
|
| 32 |
## Contributing |
| 33 |
|
| 34 |
Requests for new features, bug fixes and all other ideas to make this project useful are welcome. |
| 35 |
|
| 36 |
Please report all issues in [the repository bug tracker](https://github.com/Spomky-Labs/otphp/issues). |
| 37 |
|
| 38 |
Also make sure to [follow these best practices](.github/CONTRIBUTING.md). |
| 39 |
|
| 40 |
## Licence |
| 41 |
|
| 42 |
This software is release under the [MIT licence](LICENSE). |