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 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 yesterday

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 32% 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

2275d 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

[srmklive/authy

Plugin for enabling two-factor authentication in Laravel applications

6741.3k](/packages/srmklive-authy)[havenshen/slim-born

Slim Framework 3 skeleton application has authentication.

1941.7k](/packages/havenshen-slim-born)[lucatacconi/crunz-ui

User interface for lavary/crunz. Integrate Crunz library and funtions: Tabular, monthly or weekly interface to view the scheduled and executed tasks. Quick display of the execution result of the tasks that have been executed (Indicator icons easily show the result). Upload, download, edit or delete tasks. Forced run of the task, even outside the scheduled time with eventual display of the log once the execution is completed. It can be used with integrated Crunz or with a version of Crunz already installed on the system

161.5k](/packages/lucatacconi-crunz-ui)[benbjurstrom/cognito-jwt-guard

A laravel auth guard for JSON Web Tokens issued by Amazon AWS Cognito

1113.1k](/packages/benbjurstrom-cognito-jwt-guard)

PHPackages © 2026

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