PHPackages                             niif/simplesamlphp-module-authtfaga - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. niif/simplesamlphp-module-authtfaga

ActiveSimplesamlphp-module[Authentication &amp; Authorization](/categories/authentication)

niif/simplesamlphp-module-authtfaga
===================================

Two-factor authentication module for simpleSAMLphp using Google Authenticator

v1.2.0(8y ago)135610[2 issues](https://github.com/NIIF/simplesamlphp-module-authtfaga/issues)[2 PRs](https://github.com/NIIF/simplesamlphp-module-authtfaga/pulls)PHP

Since Jan 15Pushed 4y ago3 watchersCompare

[ Source](https://github.com/NIIF/simplesamlphp-module-authtfaga)[ Packagist](https://packagist.org/packages/niif/simplesamlphp-module-authtfaga)[ RSS](/packages/niif-simplesamlphp-module-authtfaga/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Two-factor authentication module for simpleSAMLphp using Google Authenticator
=============================================================================

[](#two-factor-authentication-module-for-simplesamlphp-using-google-authenticator)

Usage
-----

[](#usage)

Configure it by adding an entry to `config/authsources.php` such as this:

```
      'authtfaga' => array(
          'authtfaga:authtfaga',

          'db.dsn' => 'mysql:host=db.example.com;port=3306;dbname=idpauthtfaga',
          'db.username' => 'simplesaml',
          'db.password' => 'bigsecret',
          'mainAuthSource' => 'ldap',
          'uidField' => 'uid',
          'totpIssuer' => 'dev_aai_teszt_IdP'
        ),

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~787 days

Total

2

Last Release

3025d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbd1543568948482a6229c1c07ddcc76c71254d0d5c63c024a967222857c33bd?d=identicon)[gyufi](/maintainers/gyufi)

![](https://www.gravatar.com/avatar/b8bab3c1b234f0732268e672b7acc23549b3819e445c2fddc7de385dbac40e4d?d=identicon)[kukkjanos](/maintainers/kukkjanos)

![](https://www.gravatar.com/avatar/58cf0b44aa083da212f27d6c89a3ba7b0716079d39f2d2d845d4997d61e93571?d=identicon)[northway](/maintainers/northway)

---

Top Contributors

[![sitya](https://avatars.githubusercontent.com/u/1099191?v=4)](https://github.com/sitya "sitya (6 commits)")[![vittala](https://avatars.githubusercontent.com/u/449426?v=4)](https://github.com/vittala "vittala (4 commits)")[![ghalse](https://avatars.githubusercontent.com/u/7996633?v=4)](https://github.com/ghalse "ghalse (3 commits)")[![northway](https://avatars.githubusercontent.com/u/3431401?v=4)](https://github.com/northway "northway (2 commits)")[![quba](https://avatars.githubusercontent.com/u/647328?v=4)](https://github.com/quba "quba (1 commits)")[![uhi67](https://avatars.githubusercontent.com/u/7422173?v=4)](https://github.com/uhi67 "uhi67 (1 commits)")

### Embed Badge

![Health badge](/badges/niif-simplesamlphp-module-authtfaga/health.svg)

```
[![Health](https://phpackages.com/badges/niif-simplesamlphp-module-authtfaga/health.svg)](https://phpackages.com/packages/niif-simplesamlphp-module-authtfaga)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.8M211](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5017.7k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[drupalauth/simplesamlphp-module-drupalauth

A SimpleSAMLphp module adding support for Drupal as the authentication source.

25317.5k1](/packages/drupalauth-simplesamlphp-module-drupalauth)[cirrusidentity/simplesamlphp-module-authoauth2

SSP Module for Oauth2 authentication sources

33106.2k](/packages/cirrusidentity-simplesamlphp-module-authoauth2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
