Skip to content
2 Factor Authentication (2FA) library
Branch: master
Clone or download
Latest commit d74e8cd Sep 22, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
src fix namespace bug Sep 20, 2017
tests fix namespace bug Sep 20, 2017
.gitattributes first commit Aug 28, 2017
.travis.yml remove 5.6 Sep 21, 2017 first commit Aug 28, 2017 replace scrutinizr for Sep 13, 2017
composer.json update composer Sep 21, 2017
phpunit.xml.dist remove codeception (as we only do unit tests) and replace for PhpUnit Sep 13, 2017

2fa library

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

This library allows developers to implement Time Based One Time Passwords (TOTP) for the PHP implementation of the 2factor Authentication (2FA), supporting both the HMAC-based one-time password (HOTP) and the time-based one-time passwords (TOTP).


You can read the latest docs on


Please see CONTRIBUTING for details.



The BSD License (BSD). Please see License File for more information.


Web development has never been so fun!

You can’t perform that action at this time.