Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PHP library for Two Factor Authentication (TFA / 2FA)

License

NotificationsYou must be signed in to change notification settings

RobThree/TwoFactorAuth

Repository files navigation

Logo PHP library for Two Factor Authentication

Build statusLatest Stable VersionLicenseDownloadsPayPal donate button

PHP library fortwo-factor (or multi-factor) authentication usingTOTP andQR-codes. Inspired by, based on but most importantly animprovement on 'PHPGangsta/GoogleAuthenticator'. There's a.Net implementation of this library as well.

Requirements

  • Requires PHP version >=8.2

Optionally, you may need:

  • sockets if you are usingNTPTimeProvider
  • endroid/qr-code if usingEndroidQrCodeProvider orEndroidQrCodeWithLogoProvider.
  • bacon/bacon-qr-code if usingBaconQrCodeProvider.
  • php-curl library when using an external QR Code provider such asQRServerProvider,ImageChartsQRCodeProvider,QRicketProvider or any other custom provider connecting to an external service.

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 thegetting started page or try out thedemo.

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

Integrations

License

Licensed under MIT license. SeeLICENSE for details.

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

About

PHP library for Two Factor Authentication (TFA / 2FA)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp