PHPackages                             cherryant/filamenttwofactor - 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. cherryant/filamenttwofactor

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

cherryant/filamenttwofactor
===========================

This is my package filamenttwofactor

v2.0.0(2y ago)022[3 PRs](https://github.com/CherryAnt/filamentTwoFactor/pulls)MITPHPPHP ^8.1CI passing

Since Dec 23Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/CherryAnt/filamentTwoFactor)[ Packagist](https://packagist.org/packages/cherryant/filamenttwofactor)[ Docs](https://github.com/cherryant/filamenttwofactor)[ GitHub Sponsors](https://github.com/CherryAnt)[ RSS](/packages/cherryant-filamenttwofactor/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)Dependencies (15)Versions (8)Used By (0)

This is my package filamenttwofactor
====================================

[](#this-is-my-package-filamenttwofactor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/18a77e8c917d3fa0e6386650b17a063b08267b12aca86d121c32972a4845d842/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636865727279616e742f66696c616d656e7474776f666163746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cherryant/filamenttwofactor)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0f7d1541517f104d5a708e90f8158c165ce029ec4fb92f5464d11014b268bb0c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636865727279616e742f66696c616d656e7474776f666163746f722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/cherryant/filamenttwofactor/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4a69e589bcc60a0e23eaa9323e93f78b62df8e1fb2a02d802553726d8f25065f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636865727279616e742f66696c616d656e7474776f666163746f722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/cherryant/filamenttwofactor/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/125cf25b7b4cc1c3b1da908c33d5803c4cfc4d4df9e727bd04f8655d17b0a8cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636865727279616e742f66696c616d656e7474776f666163746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cherryant/filamenttwofactor)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require cherryant/filamenttwofactor
php artisan twofactor:install
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="filamenttwofactor-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

```
class CustomersPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ...
            ->authGuard('users')
            ->plugin(
                TwoFactorCore::make()
            )
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jordi Cerezo Formiga](https://github.com/CherryAnt)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance48

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.2% 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

922d ago

Major Versions

v1.0.2 → v2.0.02023-12-23

### Community

Maintainers

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

---

Top Contributors

[![CherryAnt](https://avatars.githubusercontent.com/u/3010936?v=4)](https://github.com/CherryAnt "CherryAnt (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

laravelCherryAntfilamenttwofactor

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cherryant-filamenttwofactor/health.svg)

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

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k2.1M57](/packages/jeffgreco13-filament-breezy)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[solution-forest/filament-email-2fa

filament-email-2fa

3211.0k](/packages/solution-forest-filament-email-2fa)

PHPackages © 2026

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