PHPackages                             ferdiunal/nova-password-confirm-modal - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ferdiunal/nova-password-confirm-modal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ferdiunal/nova-password-confirm-modal
=====================================

The Laravel Nova field that manages the availability of data.

v1.0.4(1y ago)321MITPHPPHP ^8.2

Since Jul 13Pushed 1y agoCompare

[ Source](https://github.com/ferdiunal/nova-password-confirm-modal)[ Packagist](https://packagist.org/packages/ferdiunal/nova-password-confirm-modal)[ Fund](https://buymeacoffee.com/ferdiunal)[ GitHub Sponsors](https://github.com/sponsors/ferdiunal)[ RSS](/packages/ferdiunal-nova-password-confirm-modal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (0)

Nova Password Confirm Modal - WIP
=================================

[](#nova-password-confirm-modal---wip)

This Laravel Nova field manages the availability of data by requiring a password confirmation through a modal dialog.

Video
-----

[](#video)

[![Nova Password Confirm Modal](https://camo.githubusercontent.com/bbc40546780d9932e0a5e3853a128cd806c5f7d36d78721b8761aba5e72f0ce3/68747470733a2f2f692e7974696d672e636f6d2f76692f7869756d743737523557632f6d617872657364656661756c742e6a7067)](https://www.youtube.com/watch?v=xiumt77R5Wc)

Features
--------

[](#features)

- **Secure Data Access**: Ensures that sensitive operations require password confirmation.
- **Integration with Laravel Nova**: Seamlessly integrates as a field within Laravel Nova panels.

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

[](#installation)

To install the package, run the following command in your Nova project:

```
composer require ferdiunal/nova-password-confirm-modal
```

Usage
-----

[](#usage)

After installation, you can add the password confirmation field to your Nova resource like this:

Code Example```
namespace App\Nova;

use Ferdiunal\NovaPasswordConfirmModal\NovaPasswordConfirmModal;
use Illuminate\Http\Request;
use Illuminate\Validation\Rules;
use Laravel\Nova\Fields\Gravatar;
use Laravel\Nova\Fields\ID;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Http\Requests\NovaRequest;

class User extends Resource
{
    public static function permissionsForAbilities(): array
    {
        return Permissions::$users;
    }

    /**
     * The model the resource corresponds to.
     *
     * @var class-string
     */
    public static $model = \App\Models\User::class;

    /**
     * The single value that should be used to represent the resource when being displayed.
     *
     * @var string
     */
    public static $title = 'name';

    /**
     * The columns that should be searched.
     *
     * @var array
     */
    public static $search = [
        'id', 'name', 'email',
    ];

    /**
     * Get the fields displayed by the resource.
     *
     * @return array
     */
    public function fields(NovaRequest $request)
    {
        return [
            ID::make()->sortable()->hideFromIndex(),
            Gravatar::make()->maxWidth(50),
            Text::make('Name')
                ->sortable()
                ->maxlength(255)
                ->enforceMaxlength()
                ->rules('required', 'max:255'),

            NovaPasswordConfirmModal::make('Passport Number', 'email')
                ->lockField()
                ->maskChar('#') //  Character to use for masking. (*,#,-,+)
                ->maskIndent(4, 3) // The number of characters to appear at the start or end of the data.
                ->countdown(3) // The data is masked back after the second you provide.,
        ];
    }

    /**
     * Get the cards available for the request.
     *
     * @return array
     */
    public function cards(NovaRequest $request)
    {
        return [];
    }

    /**
     * Get the filters available for the resource.
     *
     * @return array
     */
    public function filters(NovaRequest $request)
    {
        return [];
    }

    /**
     * Get the lenses available for the resource.
     *
     * @return array
     */
    public function lenses(NovaRequest $request)
    {
        return [];
    }

    /**
     * Get the actions available for the resource.
     *
     * @return array
     */
    public function actions(NovaRequest $request)
    {
        return [];
    }
}
```

License
-------

[](#license)

This project is open-sourced software licensed under the [MIT license](https://github.com/ferdiunal/nova-password-confirm-modal/blob/main/LICENSE).

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

[](#contributing)

Contributions are welcome, and any contributors must adhere to the project's code of conduct and licensing terms.

Support
-------

[](#support)

For support, please open an issue in the GitHub repository.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Every ~16 days

Total

5

Last Release

604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51f5bc45a8653e16229499476a51988197350c7648ec3b961c62c45cc92d8872?d=identicon)[ferdiunal](/maintainers/ferdiunal)

---

Top Contributors

[![ferdiunal](https://avatars.githubusercontent.com/u/5059851?v=4)](https://github.com/ferdiunal "ferdiunal (19 commits)")

---

Tags

laravellaravel-novalaravel-nova-fieldlaravel-nova-packagenovapassword-confirm-modalpassword-confirmation-dialoglaravelnovanova-fieldferdiunalnova-password-confirm-modal

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ferdiunal-nova-password-confirm-modal/health.svg)

```
[![Health](https://phpackages.com/badges/ferdiunal-nova-password-confirm-modal/health.svg)](https://phpackages.com/packages/ferdiunal-nova-password-confirm-modal)
```

###  Alternatives

[dillingham/nova-attach-many

Attach Many Nova field

2712.0M2](/packages/dillingham-nova-attach-many)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)[stepanenko3/nova-cards

A Laravel Nova info cards.

33143.0k](/packages/stepanenko3-nova-cards)[ferdiunal/nova-editable-field

A Laravel Nova package to make fields editable.

104.6k](/packages/ferdiunal-nova-editable-field)

PHPackages © 2026

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