PHPackages                             norman-huth/nova-secret-field - 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. norman-huth/nova-secret-field

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

norman-huth/nova-secret-field
=============================

This package provides a custom secret field that can be toggled to see its value.

1.0.2(3y ago)353.2k—6.7%3[1 PRs](https://github.com/Muetze42/nova-secret-field/pulls)MITVuePHP ^8.0

Since Apr 22Pushed 3y agoCompare

[ Source](https://github.com/Muetze42/nova-secret-field)[ Packagist](https://packagist.org/packages/norman-huth/nova-secret-field)[ Docs](https://github.com/Muetze42/nova-secret-field)[ RSS](/packages/norman-huth-nova-secret-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Nova Secret Field
=================

[](#nova-secret-field)

This package provides a custom secret field that can be toggled to see its value.

[![index](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/index.png "index")](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/index.png)
[![detail](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/details.png "detail")](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/details.png)
[![edit](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/edit.png "edit")](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/edit.png)

Install
-------

[](#install)

`composer require norman-huth/nova-secret-field`

Usage
-----

[](#usage)

```
use NormanHuth\SecretField\SecretField;

class Client extends Resource
{
    // ...
    public function fields(NovaRequest $request): array
    {
        return [
            SecretField::make(__('Token'), 'token'),
        ];
    }
```

### Options

[](#options)

Same as a text field and disable „copy to clipboard“ method:

```
SecretField::make(__('Token'), 'token')->disableClipboard(),
```

#### Translate/Message text

[](#translatemessage-text)

Default:

```
{
    "Copied": "Kopiert",
    "Copying failed": "Kopieren fehlgeschlagen"
}
```

Change messages

```
SecretField::make(__('Token'), 'token')
    ->copiedMsg(__('Copied'))
    ->failedMsg(__('Copying failed')),
```

### Misc

[](#misc)

For Nova 3:
[nalingia/nova-secret-field](https://github.com/nalingia/nova-secret-field)

---

[![More Laravel Nova Packages](https://raw.githubusercontent.com/Muetze42/asset-repo/main/svg/more-laravel-nova-packages.svg)](https://huth.it/nova-packages)

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)

[![Woman. Life. Freedom.](https://raw.githubusercontent.com/Muetze42/Muetze42/2033b219c6cce0cb656c34da5246434c27919bcd/files/iran-banner-big.svg)](https://linktr.ee/CurrentPetitionsFreeIran)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community8

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 ~41 days

Total

3

Last Release

1406d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2579233?v=4)[Muetze](/maintainers/Muetze)[@muetze](https://github.com/muetze)

---

Top Contributors

[![Muetze42](https://avatars.githubusercontent.com/u/26193232?v=4)](https://github.com/Muetze42 "Muetze42 (16 commits)")

---

Tags

laravellaravel-novalaravel-nova-fieldnova-4nova-fieldnova-fieldslaravelnovalaravel-novanova-4laravel-nova-fieldnova-fields

### Embed Badge

![Health badge](/badges/norman-huth-nova-secret-field/health.svg)

```
[![Health](https://phpackages.com/badges/norman-huth-nova-secret-field/health.svg)](https://phpackages.com/packages/norman-huth-nova-secret-field)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[vyuldashev/nova-money-field

A Laravel Nova field for Money.

73784.4k1](/packages/vyuldashev-nova-money-field)[alexwenzel/nova-dependency-container

A Laravel Nova 4 form container for grouping fields that depend on other field values.

461.0M2](/packages/alexwenzel-nova-dependency-container)[norman-huth/nova-assets-changer

Change Nova resources

2570.1k](/packages/norman-huth-nova-assets-changer)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)

PHPackages © 2026

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