PHP 2FA

Open-source PHP projects categorized as 2FA

Top 11 PHP 2FA Projects

  1. 2FAuth

    A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. google2fa

    A One Time Password Authentication package, compatible with Google Authenticator.

  4. google2fa-laravel

    A One Time Password Authentication package, compatible with Google Authenticator for Laravel

  5. two-factor

    Two-Factor Authentication for WordPress.

  6. WebAuthn

    A simple PHP WebAuthn (FIDO2/Passkey) server library (by lbuchs)

  7. multiotp

    multiOTP open source strong two factor authentication PHP library, OATH certified, with TOTP, HOTP, Mobile-OTP, YubiKey, SMS, QRcode provisioning, etc.

  8. TwoFactor

    Two-Factor Authentication for all your users out-of-the-box.

  9. twofactor_gateway

    🔑 Second factor provider using an external messaging gateway (Signal, SMS, Telegram, WhatsApp and XMPP)

  10. alfred-imessage-2fa

    iMessage 2FA Workflow for Alfred

  11. phone-verification-laravel

    A library for phone verification via Laravel notification channels. Any notification channel can be used as a sender, and Redis or MongoDB can be used as a storage

  12. authpress

    AuthPress - Advanced WordPress 2FA Plugin

    Project mention: Building AuthPress: From Simple Telegram 2FA to Extensible WordPress Security Platform | dev.to | 2025-09-16

    GitHub: dueclic/authpress

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP 2FA discussion

Log in or Post with

PHP 2FA related posts

  • Building AuthPress: From Simple Telegram 2FA to Extensible WordPress Security Platform

    1 project | dev.to | 16 Sep 2025
  • 2FAuth: A Self-Hosted Web-Based OTP Alternative

    1 project | news.ycombinator.com | 1 May 2023
  • FOSS TOTP App with selfhosted sync

    1 project | /r/selfhosted | 8 Apr 2023
  • 2fauth on docker-compose

    2 projects | /r/synology | 26 Jan 2023
  • Can we trust 2fauth ?

    1 project | /r/selfhosted | 2 Jan 2023
  • A web app to manage your Two-Factor Authentication (2FA) accounts

    1 project | news.ycombinator.com | 13 Dec 2022
  • 2fa type - package? any recommendation

    1 project | /r/laravel | 7 Sep 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source 2FA projects in PHP? This list will help you:

# Project Stars
1 2FAuth 3,988
2 google2fa 1,998
3 google2fa-laravel 1,048
4 two-factor 811
5 WebAuthn 582
6 multiotp 447
7 TwoFactor 339
8 twofactor_gateway 121
9 alfred-imessage-2fa 117
10 phone-verification-laravel 11
11 authpress 10

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that PHP is
the 14th most popular programming language
based on number of references?