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

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

paragonie/multi-factor
======================

Vendor-agnostic two-factor authentication library

v0.2.2(9y ago)142195.5k↓17.9%19[6 issues](https://github.com/paragonie/multi_factor/issues)[2 PRs](https://github.com/paragonie/multi_factor/pulls)2GPL-3.0+PHPPHP ^7

Since Jun 13Pushed 3y ago13 watchersCompare

[ Source](https://github.com/paragonie/multi_factor)[ Packagist](https://packagist.org/packages/paragonie/multi-factor)[ RSS](/packages/paragonie-multi-factor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (2)

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

[](#multi-factor)

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

Developed by [Paragon Initiative Enterprises](https://paragonie.com) for use in our own projects. It's 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 7.2+
    - As per [Paragon Initiative Enterprise's commitment to open source](https://paragonie.com/blog/2016/04/go-php-7-our-commitment-maintaining-our-open-source-projects), all new software will no longer be written for PHP 5.

Installing
----------

[](#installing)

```
composer require paragonie/multi-factor
```

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

[](#example-usage)

```
