PHPackages                             theodorejb/multi-factor - 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. theodorejb/multi-factor

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

theodorejb/multi-factor
=======================

Vendor-agnostic two-factor authentication library

v2.0.0(1y ago)01.6k—0%1GPL-3.0+PHPPHP &gt;=8.1CI passing

Since Jun 13Pushed 10mo agoCompare

[ Source](https://github.com/theodorejb/multi-factor)[ Packagist](https://packagist.org/packages/theodorejb/multi-factor)[ RSS](/packages/theodorejb-multi-factor/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (9)Used By (0)

Multi-Factor
============

[](#multi-factor)

Designed to be a vendor-agnostic implementation of various Two-Factor Authentication solutions.

Fork of [paragonie/multi\_factor](https://github.com/paragonie/multi_factor). Initially developed by [Paragon Initiative Enterprises](https://paragonie.com)for use in their own projects. Forked to support PHP 8+ since the original project wasn't being maintained.

Released under a dual license: GPL and MIT. As with all dual-licensed projects, feel free to choose the license that fits your needs.

Requirements
------------

[](#requirements)

- PHP 8.1+

Installing
----------

[](#installing)

```
composer require theodorejb/multi-factor
```

Example Usage
-------------

[](#example-usage)

### Display QR code

[](#display-qr-code)

```
