PHPackages                             enygma/duoauth - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. enygma/duoauth

AbandonedLibrary[HTTP &amp; Networking](/categories/http)

enygma/duoauth
==============

PHP library to interface with the DuoAuth Two-Factor REST API

2.0(5y ago)131644[1 issues](https://github.com/enygma/duoauth/issues)MITPHPPHP &gt;=5.3.1

Since Feb 19Pushed 5y ago3 watchersCompare

[ Source](https://github.com/enygma/duoauth)[ Packagist](https://packagist.org/packages/enygma/duoauth)[ Docs](https://github.com/enygma/duoauth.git)[ RSS](/packages/enygma-duoauth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

duoauth
=======

[](#duoauth)

*NOTE: This library is no longer maintained.*

[![Build Status](https://camo.githubusercontent.com/1c6a0ecd350dc613ec6d436658565d1a5afe39530974e443f8a48b13219bd64c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f656e79676d612f64756f617574682e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/enygma/duoauth)

PHP Library for easy integration with [Duo Security](http://duosecurity.com)'s Two-Factor REST API

The Duo Security service provides easy integration with your current authentication methods to drop in two-factor authentication (cell phone or other device).

They have a "developer" plan that's free and allows for up to 10 users on the application/account.

Find out more here:

REST documentation:

### Creating an Account

[](#creating-an-account)

To create an application, you'll need to make an account with Duo Security. Once you're in you'll need to:

1. Click on the "Integrations" item in the sidebar and click "New Application"
2. For the Integration type, choose "REST API" and give it a name
3. Once it's created, click on its name to get to the detail page. Here's where you'll find the keys you'll need to access the API (integration, secret and the API hostname)

### Installation via Composer:

[](#installation-via-composer)

Include in your `composer.json` file:

```
{
    "require": {
        "enygma/duoauth": "2.*"
    }
}

```

### More information...

[](#more-information)

For more information on the functionality, see the wiki:

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2899 days

Total

2

Last Release

1937d ago

Major Versions

v1.0 → 2.02021-01-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3e9061cdcb718c070419cadac5c58261580bbb384d0c5db21e53501121f08a7?d=identicon)[enygma](/maintainers/enygma)

---

Top Contributors

[![enygma](https://avatars.githubusercontent.com/u/66796?v=4)](https://github.com/enygma "enygma (127 commits)")[![ben-duo](https://avatars.githubusercontent.com/u/2679101?v=4)](https://github.com/ben-duo "ben-duo (5 commits)")[![ccornutt-duo](https://avatars.githubusercontent.com/u/45460579?v=4)](https://github.com/ccornutt-duo "ccornutt-duo (2 commits)")[![BBrey](https://avatars.githubusercontent.com/u/8228341?v=4)](https://github.com/BBrey "BBrey (1 commits)")

---

Tags

apiapi-clientduo-securitysecuritysecurity-toolsapirestduoauthtwofactor

### Embed Badge

![Health badge](/badges/enygma-duoauth/health.svg)

```
[![Health](https://phpackages.com/badges/enygma-duoauth/health.svg)](https://phpackages.com/packages/enygma-duoauth)
```

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[cybercog/youtrack-rest-php

YouTrack REST API PHP Client.

37149.2k3](/packages/cybercog-youtrack-rest-php)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client

Documentation for all of Ory Hydra's APIs.

17435.9k](/packages/ory-hydra-client)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1204.3k](/packages/zenditplatform-zendit-php-sdk)[whatarmy/fedex-rest

New FedEx Rest API wrapper

2440.5k1](/packages/whatarmy-fedex-rest)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
