PHPackages                             tommarti/jwtopenauth - 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. tommarti/jwtopenauth

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

tommarti/jwtopenauth
====================

Two-factor authentication api that can be implemented very quickly and easily based on SlimFramework.

1.1.1(6y ago)03[1 issues](https://github.com/TEAM8279/jwtOpenAuth/issues)[1 PRs](https://github.com/TEAM8279/jwtOpenAuth/pulls)MITPHPPHP &gt;=7.1

Since Feb 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/TEAM8279/jwtOpenAuth)[ Packagist](https://packagist.org/packages/tommarti/jwtopenauth)[ Docs](http://github.com/TomMarti/jwtOpenAuth)[ RSS](/packages/tommarti-jwtopenauth/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (7)Versions (7)Used By (0)

jwtOpenAuth
===========

[](#jwtopenauth)

JwtOpenAuth is a two-factor authentication api that can be implemented very quickly and easily based on SlimFramework.

Prerequisite
------------

[](#prerequisite)

A database with an user table with some columns :

columntypedescriptionidintcontain the id of the usernamestring 254contain the name of the usermailstring 254contain the mail of the userpasswordstring 254contain the password of the usertotp\_keystring 16contain the totp keytotp\_key\_validatebooleancontain if the totp key has been validatedInstall the application
-----------------------

[](#install-the-application)

First, we have to install the application on your computer. Replace ` [my-app-name]` by the name of your application.

```
composer create-project tommarti/jwtopenauth [my-app-name]

```

To run the application in development, run these commands:

```
cd [my-app-name]
composer start

```

To run your application's tests, run this command:

```
composer test

```

Configuration
-------------

[](#configuration)

Go in src/Config/Configuration.php in the project and configure your application for working with your infrastructure.

1. Configure the database info
    - db name
    - db host
    - db user
    - db password
    - db user table name
    - db id column name
    - db name column name
    - db mail column name
    - db password column name
    - db totp\_key column name
    - db totp\_key\_validate column name
2. Configure the application label
3. Configure the token info
    - token key
    - token iss

Generate the api documentation
------------------------------

[](#generate-the-api-documentation)

In progress...

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

4

Last Release

2326d ago

Major Versions

0.1.0 → 1.0.02020-02-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f595f23e8747364723b383c1145ff03268f344132cb1fb753edd712ecdffba5?d=identicon)[TomMarti](/maintainers/TomMarti)

---

Top Contributors

[![TomMarti](https://avatars.githubusercontent.com/u/42736938?v=4)](https://github.com/TomMarti "TomMarti (31 commits)")

---

Tags

apiAuthenticationtwo-factor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tommarti-jwtopenauth/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[egroupware/openid

EGroupware OpenID Connect / OAuth2 server

1228.1k4](/packages/egroupware-openid)

PHPackages © 2026

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