Twofactorauth

PHP library for Two Factor Authentication (TFA / 2FA)
Alternatives To Twofactorauth
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Authelia17,429212 hours ago64October 28, 2019101apache-2.0Go
The Single Sign-On Multi-Factor portal for web apps
Twofactorauth3,278
2 days ago21otherRuby
List of sites with two factor auth support which includes SMS, email, phone calls, hardware, and software.
Awesome Iam1,323
4 days ago4cc0-1.0
👤 Identity and Access Management knowledge for cloud platforms
Authorizer1,146
13 days ago71mitGo
Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
Git Hound1,015
3 months ago6June 02, 20232mitGo
Reconnaissance tool for GitHub code search. Scans for exposed API keys across all of GitHub, not just known repos.
2fauth1,006
2 days ago22agpl-3.0PHP
A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
Twofactorauth94897262 months ago16March 09, 20216mitPHP
PHP library for Two Factor Authentication (TFA / 2FA)
Mintotp788
a year ago3February 15, 20212mitPython
Minimal TOTP generator in 20 lines of Python
Extract_otp_secrets769
4 days ago4gpl-3.0Python
Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.
Otpauth663112119 hours ago89November 10, 20226mitJavaScript
One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers.
Alternatives To Twofactorauth
Select To Compare


Alternative Project Comparisons
Readme

Logo PHP library for Two Factor Authentication

Build status Latest Stable Version License Downloads PayPal donate button

PHP library for two-factor (or multi-factor) authentication using TOTP and QR-codes. Inspired by, based on but most importantly an improvement on 'PHPGangsta/GoogleAuthenticator'. There's a .Net implementation of this library as well.

Warning:

By default, this package uses the lib/Providers/QRServerProvider.php as QR code generator. This provider is not suggested for applications where absolute security is needed, because it uses an external service for the QR code generation.

You can make use of the included Endroid or Bacon providers which generate locally.

Requirements

  • Requires PHP version >=8.1
  • cURL when using the provided QRServerProvider (default), ImageChartsQRCodeProvider or QRicketProvider but you can also provide your own QR-code provider.
  • random_bytes(), OpenSSL or Hash depending on which built-in RNG you use (TwoFactorAuth will try to 'autodetect' and use the best available); however: feel free to provide your own (CS)RNG.

Optionally, you may need:

Installation

The best way of installing this library is with composer:

php composer.phar require robthree/twofactorauth

Usage

For a quick start, have a look at the getting started page or try out the demo.

If you need more in-depth information about the configuration available then you can read through the rest of documentation.

Integrations

License

Licensed under MIT license. See LICENSE for details.

Logo / icon under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication (Archived page)

Popular Two Factor Authentication Projects
Popular Security Projects
Popular Security Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Security
Qrcode
Qr
Two Factor
Totp