Password Confirmation
CommunityPrompt users to re-enter their password before performing sensitive actions.
Author:
Julio Motol
Package health
BetaAutomated checks of this plugin's Composer package
15 checks
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Failed: Dependabot PR responsiveness — Stale Dependabot PRs: oldest general PR is 310 days old. View details on Plumb
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
-
Failed:
Dependency update cooldown configured
—
No cooldown configured in
.github/dependabot.yml. View details on Plumb - Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Warning: Commit and release recency — Low activity: last commit 219 days ago; last release 701 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Warning:
Current Laravel version supported
—
Package support for current Laravel
13.0could not be verified; the newest co-installable line is12.0, which receives security patches only (until 2027-02-24). Line13.0could not be fully verified: no solution was found among the newest package versions, and resolving the complete version pool exceeded solver resource budgets, so support there cannot be ruled out. -
Passed:
Current PHP version supported
—
Constraint
^8.1supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
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
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
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.
$passwordTimeoutproperty in the page/resourcepasswordTimeout()configured in the plugin during registryauth.password_timeoutconfig assigned inconfig/auth.php
#Testing
composer test
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Contributing
Please see CONTRIBUTING for details.
#Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission