Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fetus-hina/totp
RFC 6238 / TOTP: Time-Based One-Time Password Algorithm
https://github.com/fetus-hina/totp
Last synced: 19 days ago
JSON representation
RFC 6238 / TOTP: Time-Based One-Time Password Algorithm
- Host: GitHub
- URL: https://github.com/fetus-hina/totp
- Owner: fetus-hina
- License: mit
- Created: 2015-02-08T13:58:29.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T03:24:49.000Z (5 months ago)
- Last Synced: 2024-10-18T00:37:37.379Z (29 days ago)
- Language: PHP
- Size: 77.1 KB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
totp
====PHP implementation of RFC6238 (TOTP: Time-Based One-Time Password Algorithm).
[![License](https://poser.pugx.org/jp3cki/totp/license.svg)](https://packagist.org/packages/jp3cki/totp)
[![Latest Stable Version](https://poser.pugx.org/jp3cki/totp/v/stable.svg)](https://packagist.org/packages/jp3cki/totp)
[![CI](https://github.com/fetus-hina/totp/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fetus-hina/totp/actions/workflows/ci.yml)Requirements
------------* PHP (64-bits): PHP 8.1 or later
* PHP Extensions: hashInstall
-------1. Set up [Composer](https://getcomposer.org/), the de facto standard package manager.
2. `php composer.phar require jp3cki/totp`Usage
-----
```php
`Contributing
------------Patches and/or report issues are welcome.
* Please create new branch for each issue or feature. (should not work in master branch)
* Please write and run test. `$ make test`
* Please run check-style for static code analysis and coding rule checking. `$ make check-style`
* Please clean up commits.
* Please create new pull-request for each issue or feature.
* Please use Japanese or *very simple* English to create new pull-request or issue.Breaking Changes
----------------- v3.0.0
- Minimum environment is now PHP 8.1- v2.0.0
- Minimum environment is now PHP 7.2
- Argument types are now strictly enforced
- Removed `Random::generate*()`. Always use `random_bytes()` now.