PHPackages                             juliomotol/filament-password-confirmation - 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. juliomotol/filament-password-confirmation

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

juliomotol/filament-password-confirmation
=========================================

Prompt users to re-enter their password before performing sensitive actions.

v1.2.0(1y ago)1121.7k↓42.4%1[4 PRs](https://github.com/juliomotol/filament-password-confirmation/pulls)MITPHPPHP ^8.1CI passing

Since Apr 17Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/juliomotol/filament-password-confirmation)[ Packagist](https://packagist.org/packages/juliomotol/filament-password-confirmation)[ Docs](https://github.com/juliomotol/filament-password-confirmation)[ GitHub Sponsors](https://github.com/juliomotol)[ RSS](/packages/juliomotol-filament-password-confirmation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (12)Versions (8)Used By (0)

Filament Password Confirmation
==============================

[](#filament-password-confirmation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/028213fa87c195df3c63e21e52bba758e3001aea92cce2dcb47c5d298db4624d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a756c696f6d6f746f6c2f66696c616d656e742d70617373776f72642d636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juliomotol/filament-password-confirmation)[![GitHub Tests Action Status](https://camo.githubusercontent.com/44dd3da7c0e098015bbfe57cdaab3178142b90d22933535d541d176a94816811/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a756c696f6d6f746f6c2f66696c616d656e742d70617373776f72642d636f6e6669726d6174696f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/juliomotol/filament-password-confirmation/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0a55b2c551e8812f00738394da8a83971f778ff65a087f8610759216f400d306/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a756c696f6d6f746f6c2f66696c616d656e742d70617373776f72642d636f6e6669726d6174696f6e2f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/juliomotol/filament-password-confirmation/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/34bc0d22d78063133da5a38aa561fa49bfd178aa4b8b1c6e87127d7a7846d190/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a756c696f6d6f746f6c2f66696c616d656e742d70617373776f72642d636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juliomotol/filament-password-confirmation)

Simplifies adding a secure password confirmation step to your admin panels.

- Prompts users to re-enter their password before performing sensitive actions.
- Increases security by preventing accidental or unauthorized actions due to long session times.
- Easy to integrate and highly configurable.

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

[](#installation)

You can install the package via composer:

```
composer require juliomotol/filament-password-confirmation
```

Then add the plugin to your panel.

```
JulioMotol\FilamentPasswordConfirmation\FilamentPasswordConfirmationPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
       ->plugin(FilamentPasswordConfirmationPlugin::make());
}
```

You can configure the route name, uri, middleware and password timeout duration.

```
FilamentPasswordConfirmationPlugin::make()
    ->routeName('confirm')
    ->routeUri('auth/confirm')
    ->routeMiddleware(FooMiddleware::class) // Accepts string|array
    ->passwordTimeout(10800) // Accepts int|null that represents the amount of seconds
```

Optionally, you can publish the translations and views using.

```
php artisan vendor:publish --tag="filament-password-confirmation-translations"
php artisan vendor:publish --tag="filament-password-confirmation-views"
```

Usage
-----

[](#usage)

Simply use `RequiresPasswordConfirmation` in your pages/resources.

```
use JulioMotol\FilamentPasswordConfirmation\RequiresPasswordConfirmation;

class AdminResource extends Resource
{
    use RequiresPasswordConfirmation;
    ...
}
```

You can configure the password confirmation timeout within your page/resource.

```
use JulioMotol\FilamentPasswordConfirmation\RequiresPasswordConfirmation;

class AdminResource extends Resource
{
    use RequiresPasswordConfirmation;

    protected static ?int $passwordTimeout = 360; // the amount of seconds
    ...
}
```

> NOTE: The password timeout duration is determined in the following order until it encounters a non-null value.
>
> 1. `$passwordTimeout` property in the page/resource
> 2. `passwordTimeout()` configured in the plugin during registry
> 3. `auth.password_timeout` config assigned in `config/auth.php`

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)

- [Julio Motol](https://github.com/juliomotol)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance66

Regular maintenance activity

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.3% 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 ~163 days

Total

4

Last Release

271d ago

Major Versions

v1.2.0 → 2.x-dev2025-08-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21353103?v=4)[Julio Motol](/maintainers/juliomotol)[@juliomotol](https://github.com/juliomotol)

---

Top Contributors

[![juliomotol](https://avatars.githubusercontent.com/u/21353103?v=4)](https://github.com/juliomotol "juliomotol (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (2 commits)")

---

Tags

laraveljuliomotolfilament-password-confirmation

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/juliomotol-filament-password-confirmation/health.svg)

```
[![Health](https://phpackages.com/badges/juliomotol-filament-password-confirmation/health.svg)](https://phpackages.com/packages/juliomotol-filament-password-confirmation)
```

###  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)
