PHPackages                             graphicmarket/kirby-2fa - 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. graphicmarket/kirby-2fa

ActiveKirby-plugin

graphicmarket/kirby-2fa
=======================

Multifactor Authenctication for kirby panel

1.1.0(6y ago)152286[1 issues](https://github.com/graphicmarket/kirby-2fa/issues)[5 PRs](https://github.com/graphicmarket/kirby-2fa/pulls)MITPHP

Since Apr 14Pushed 3y ago4 watchersCompare

[ Source](https://github.com/graphicmarket/kirby-2fa)[ Packagist](https://packagist.org/packages/graphicmarket/kirby-2fa)[ RSS](/packages/graphicmarket-kirby-2fa/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (9)Used By (0)

Kirby 2fa
=========

[](#kirby-2fa)

Two factor authentication for Kirby 3 panel.

[![cover](https://raw.githubusercontent.com/graphicmarket/kirby-2fa/develop/.github/cover%20kiby2fa.png)](https://raw.githubusercontent.com/graphicmarket/kirby-2fa/develop/.github/cover%20kiby2fa.png)

Installation
------------

[](#installation)

> Before install, have in mind that the only way to implement this is by replacing the default [panel login view](https://getkirby.com/docs/reference/plugins/extensions/panel-login). Hence if you have your implementation, installing this plugin can be conflictive.

### Download

[](#download)

Download and copy the content of this repository to `/site/plugins/kirby-2fa` directory.

### Composer

[](#composer)

```
composer require graphicmarket/kirby-2fa

```

Setup
-----

[](#setup)

1. Add a field in your user blueprint

```
  auth:
    type: 2fa
```

2. A button will appear on the panel. When you click on it the next modal will be displayed, just follow the steps to configure.

[![panel-setup](https://raw.githubusercontent.com/graphicmarket/kirby-2fa/develop/.github/Panel%20setup%201.png)](https://raw.githubusercontent.com/graphicmarket/kirby-2fa/develop/.github/Panel%20setup%201.png)

---

You can add to your config file where you want the auth data will be stored, which must be a SQL lite file. Don't worry about creating the file you only need to specify the path with the filename. the file will be auto-created and configured if it doesn't exist.

> ⚠️ **This option is strongly recommended, save the file in a secure directory, don't push it to a repository.**

```
  'graphicmarket.kirby-2fa.database' => 'full/path/to/kirby-2fa/db.sqlite'
```

Too, you can use a function that returns a string, if you wish to use the `kirby()` helper.

```
  'graphicmarket.kirby-2fa.database' => function () {
      return kirby()->root('storage') . '/kirby-2fa/db.sqlite';
  },
```

Change the issuer sounds like something that may you want to make. The issuer is the identifier that will be displayed on the authenticator app. By default is kirby-2fa panel.

[![issuer_example](https://raw.githubusercontent.com/graphicmarket/kirby-2fa/develop/.github/issuer%20exaple.png)](https://raw.githubusercontent.com/graphicmarket/kirby-2fa/develop/.github/issuer%20exaple.png)

```
  'graphicmarket.kirby-2fa.issuer' => 'Your company/website name',
```

Recommendation
--------------

[](#recommendation)

Set in your auth options a lower number of trials by following the Kirby [panel security options](https://getkirby.com/docs/reference/system/options/auth). five its ok for me.

Improvements and future features
--------------------------------

[](#improvements-and-future-features)

1. Passwordless login (Email/SMS).
2. Implements own QRProvider.
3. Save data in the user's DB.
4. Choose the caching driver storge.
5. Translation files.

License
-------

[](#license)

MIT

Disclaimer
----------

[](#disclaimer)

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please [create a new issue](https://github.com/graphicmarket/kirby-2fa/issues/new/choose).

Credits
-------

[](#credits)

- [Ronald Torres](https://github.com/ronaldtorres)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 83.9% 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 ~4 days

Total

2

Last Release

2215d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40682b53b3ad5cc09ea102ebdb4d1c9d6160b61dabd5e34e116a8e351c9c0caa?d=identicon)[rtorresn10](/maintainers/rtorresn10)

---

Top Contributors

[![ronaldtorres](https://avatars.githubusercontent.com/u/44304163?v=4)](https://github.com/ronaldtorres "ronaldtorres (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

2fatfakirby3kirby3-pluginkirby3-cmskirby3-panel

### Embed Badge

![Health badge](/badges/graphicmarket-kirby-2fa/health.svg)

```
[![Health](https://phpackages.com/badges/graphicmarket-kirby-2fa/health.svg)](https://phpackages.com/packages/graphicmarket-kirby-2fa)
```

###  Alternatives

[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

6910.7k1](/packages/fabianmichael-kirby-meta)[schnti/cachebuster

A plugin for Kirby 3 CMS to add modification timestamps to css and js files

108.3k1](/packages/schnti-cachebuster)[bnomei/kirby3-php-cachedriver

PHP based Cache-Driver

112.6k](/packages/bnomei-kirby3-php-cachedriver)

PHPackages © 2026

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