PHPackages                             frolax/filament-phone-auth - 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. frolax/filament-phone-auth

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

frolax/filament-phone-auth
==========================

This is my package filament-phone-auth

v1.0.0(11mo ago)06MITPHPPHP ^8.2CI failing

Since Jun 14Pushed 11mo agoCompare

[ Source](https://github.com/bishwajitcadhikary/filament-phone-auth)[ Packagist](https://packagist.org/packages/frolax/filament-phone-auth)[ Docs](https://github.com/frolax/filament-phone-auth)[ GitHub Sponsors](https://github.com/frolax)[ RSS](/packages/frolax-filament-phone-auth/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (1)Dependencies (13)Versions (2)Used By (0)

Filament Phone Authentication
=============================

[](#filament-phone-authentication)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8622b7c4d47524a8e7d8c0ae2af5f3644824f9f28543b2d38da948adb9286d18/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726f6c61782f66696c616d656e742d70686f6e652d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/frolax/filament-phone-auth)[![GitHub Tests Action Status](https://camo.githubusercontent.com/610cca24fbd5056333b2ae9b26acf6888fcf42461a72f8c722d66e14632a150c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f66726f6c61782f66696c616d656e742d70686f6e652d617574682f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/frolax/filament-phone-auth/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/16b50b029f76fc020542bb7c3a2fb9788a9e356a16cc5ce0689ccf6d1c1b83c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f66726f6c61782f66696c616d656e742d70686f6e652d617574682f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/frolax/filament-phone-auth/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e0749e5c8671739a98e2fb2e5834c61e0be8e3877d730c49bf068be7f177cb21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66726f6c61782f66696c616d656e742d70686f6e652d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/frolax/filament-phone-auth)

A Laravel package that adds phone number-based two-factor authentication to your Filament admin panel. This package provides a secure way to implement phone verification as a second factor for authentication in your Filament applications.

Features
--------

[](#features)

- Phone number-based two-factor authentication for Filament
- Customizable verification code generation
- Rate limiting for code requests
- Configurable code expiration time
- Customizable notification system
- Easy integration with existing Filament applications
- User-friendly management interface

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 10.x
- Filament 4.x

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

[](#installation)

You can install the package via composer:

```
composer require frolax/filament-phone-auth
```

Publish the configuration file:

```
php artisan vendor:publish --tag="filament-phone-auth-config"
```

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

[](#configuration)

The package configuration file (`config/filament-phone-auth.php`) allows you to customize various aspects of the phone authentication:

```
return [
    'notification' => \Frolax\FilamentPhoneAuth\Notifications\VerifyPhoneAuthentication::class,
    // Add other configuration options as needed
];
```

Usage
-----

[](#usage)

1. Implement the `HasPhoneAuthentication` interface in your User model:

```
use Frolax\FilamentPhoneAuth\Contracts\HasPhoneAuthentication;

class User extends Authenticatable implements HasPhoneAuthentication
{
    public function hasPhoneAuthentication(): bool
    {
        return $this->phone_authentication_enabled;
    }

    public function togglePhoneAuthentication(bool $enabled): void
    {
        $this->phone_authentication_enabled = $enabled;
        $this->save();
    }
}
```

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)

- [Bishwajit Adhikary](https://github.com/frolax)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance52

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05f9a72ab9f1685e2d1e829714d6c3470ea38acc3bdf3b6608ac5edb4997b835?d=identicon)[bishwajitcadhikary](/maintainers/bishwajitcadhikary)

---

Top Contributors

[![bishwajitcadhikary](https://avatars.githubusercontent.com/u/55208330?v=4)](https://github.com/bishwajitcadhikary "bishwajitcadhikary (3 commits)")

---

Tags

laravelfrolaxfilament-phone-auth

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/frolax-filament-phone-auth/health.svg)

```
[![Health](https://phpackages.com/badges/frolax-filament-phone-auth/health.svg)](https://phpackages.com/packages/frolax-filament-phone-auth)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[jeffgreco13/filament-breezy

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

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

213914.9k9](/packages/dutchcodingcompany-filament-socialite)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

5925.8k](/packages/marcelweidum-filament-passkeys)[tapp/filament-invite

invite users from filament panel

3145.8k](/packages/tapp-filament-invite)

PHPackages © 2026

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