PHPackages                             codebar-ag/filament-revealable-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. codebar-ag/filament-revealable-field

Abandoned → [codebar-ag/laravel-filament-revealable-field](/?search=codebar-ag%2Flaravel-filament-revealable-field)Library[Utility &amp; Helpers](/categories/utility)

codebar-ag/filament-revealable-field
====================================

This is my package laravel-filament-revealable-field

v13.4.0(1mo ago)1109[2 issues](https://github.com/codebar-ag/laravel-filament-revealable-field/issues)[1 PRs](https://github.com/codebar-ag/laravel-filament-revealable-field/pulls)MITPHPPHP ^8.2CI failing

Since Apr 3Pushed 1mo agoCompare

[ Source](https://github.com/codebar-ag/laravel-filament-revealable-field)[ Packagist](https://packagist.org/packages/codebar-ag/filament-revealable-field)[ Docs](https://github.com/codebarag/laravel-filament-revealable-field)[ GitHub Sponsors](https://github.com/CodebarAg)[ RSS](/packages/codebar-ag-filament-revealable-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (30)Versions (38)Used By (0)

[![](https://camo.githubusercontent.com/5bbff07c1324a2c8d61ba10ec38aae0348bab361ed5b3e9e6453a3ea1a78200f/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c25323046696c616d656e7425323052657665616c61626c652532304669656c642e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d636f64656261722d61672532466c61726176656c2d66696c616d656e742d72657665616c61626c652d6669656c64267061747465726e3d63697263756974426f617264267374796c653d7374796c655f31266465736372697074696f6e3d412b4c61726176656c2b46696c616d656e742b52657665616c61626c652b4669656c642b696e746567726174696f6e2e266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d6c696768742d62756c62)](https://camo.githubusercontent.com/5bbff07c1324a2c8d61ba10ec38aae0348bab361ed5b3e9e6453a3ea1a78200f/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c25323046696c616d656e7425323052657665616c61626c652532304669656c642e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d636f64656261722d61672532466c61726176656c2d66696c616d656e742d72657665616c61626c652d6669656c64267061747465726e3d63697263756974426f617264267374796c653d7374796c655f31266465736372697074696f6e3d412b4c61726176656c2b46696c616d656e742b52657665616c61626c652b4669656c642b696e746567726174696f6e2e266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d6c696768742d62756c62)

[![Latest Version on Packagist](https://camo.githubusercontent.com/633f96f2dfb52578ea32b9247d30756511b3b553d2153c4319accba5dfbec7fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656261722d61672f6c61726176656c2d66696c616d656e742d72657665616c61626c652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codebar-ag/laravel-filament-revealable-field)[![GitHub-Tests](https://github.com/codebar-ag/laravel-filament-revealable-field/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-filament-revealable-field/actions/workflows/run-tests.yml)[![GitHub Code Style](https://github.com/codebar-ag/laravel-filament-revealable-field/actions/workflows/fix-php-code-style-issues.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-filament-revealable-field/actions/workflows/fix-php-code-style-issues.yml)[![Total Downloads](https://camo.githubusercontent.com/7b3ef0c50163a2747a6ad685865544606650fc09bc4688744169b097ca8fcb95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656261722d61672f6c61726176656c2d66696c616d656e742d72657665616c61626c652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codebar-ag/laravel-filament-revealable-field)

💡 What is Filament Revealable Field?
------------------------------------

[](#-what-is-filament-revealable-field)

Filament Revealable Field is an Infolist Field for toggling the visibility of sensitive data. It provides a secure way to display confidential information that can be revealed on demand, with optional copy-to-clipboard functionality.

🛠 Requirements
--------------

[](#-requirements)

PackagePHPLaravelFilament Infolistsv13.0.0 (alpha)^8.3^13.x^4.0v12.0.0^8.2^12.x^3.0v2.0.0^8.2 - ^8.311.x^3.2v1.0.0^8.2 - ^8.311.x^3.2⚙️ Installation
---------------

[](#️-installation)

You can install the package via composer:

```
composer require codebar-ag/laravel-filament-revealable-field
```

### CSS Setup

[](#css-setup)

Add the following to your `resources/css/app.css` file:

```
@source '../../vendor/codebar-ag/laravel-filament-revealable-field/src/Infolists/Components/RevealableEntry.php';
```

Usage
-----

[](#usage)

Infolists:

```
use CodebarAg\FilamentRevealableField\Infolists\Components\RevealableEntry;

...

public function infolist(Infolist $infolist): Infolist
{
    return $infolist
        ->schema([
            RevealableEntry::make('revealable')
                ->label('REVEALABLE')
                ->copyable() // Enable copy functionality
                ->copyMessage('Value copied!') // Custom copy message
                ->copyableState('Custom copy text'); // Custom text to copy
        ]);
}
...
```

📋 Features
----------

[](#-features)

### Revealable Content

[](#revealable-content)

- Click the eye icon to toggle visibility of sensitive data
- Hidden content is displayed as asterisks (`********`)
- Secure by default - content is hidden until explicitly revealed

### Copyable Content

[](#copyable-content)

- Enable copy-to-clipboard functionality with `->copyable()`
- Customize copy message with `->copyMessage('Custom message')`
- Set custom text to copy with `->copyableState('Custom text')`
- Set copy message duration with `->copyMessageDuration(3000)`

### Available Methods

[](#available-methods)

```
RevealableEntry::make('field_name')
    ->label('Field Label')
    ->copyable() // Enable copy functionality
    ->copyMessage('Value copied to clipboard!') // Custom success message
    ->copyableState('Custom text to copy') // Custom text to copy (defaults to field value)
    ->copyMessageDuration(3000); // Message duration in milliseconds (default: 2000)
```

🚧 Testing
---------

[](#-testing)

Copy your own phpunit.xml-file.

```
cp phpunit.xml.dist phpunit.xml
```

Run the tests:

```
./vendor/bin/pest
```

📝 Changelog
-----------

[](#-changelog)

Please see [CHANGELOG](CHANGELOG.md) for recent changes.

✏️ Contributing
---------------

[](#️-contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

```
composer test
```

### Code Style

[](#code-style)

```
./vendor/bin/pint
```

🧑‍💻 Security Vulnerabilities
----------------------------

[](#‍-security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on reporting security vulnerabilities.

🙏 Credits
---------

[](#-credits)

- [Rhys Lees](https://github.com/RhysLees)
- [Sebastian Fix](https://github.com/StanBarrows)
- [All Contributors](../../contributors)
- [Skeleton Repository from Spatie](https://github.com/spatie/package-skeleton-laravel)
- [Laravel Package Training from Spatie](https://spatie.be/videos/laravel-package-training)

🎭 License
---------

[](#-license)

The MIT License (MIT). Please have a look at [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance71

Regular maintenance activity

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 52.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 ~23 days

Recently: every ~63 days

Total

32

Last Release

45d ago

Major Versions

v0.14.0 → v12.02025-02-26

v0.15.0 → v12.0.12025-02-27

2.x-dev → v12.1.02025-07-11

v12.3.0 → v13.02025-07-12

v12.5.0 → v13.0.12025-07-15

PHP version history (2 changes)v1.0PHP ^8.2

v0.13.0PHP 8.2.\*||8.3.\*||8.4.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd1bbe54b79d041b513a286058b6fa0c479343f82147da3e63eefdf29c2fa6cb?d=identicon)[codebar](/maintainers/codebar)

---

Top Contributors

[![StanBarrows](https://avatars.githubusercontent.com/u/10268813?v=4)](https://github.com/StanBarrows "StanBarrows (45 commits)")[![RhysLees](https://avatars.githubusercontent.com/u/43909932?v=4)](https://github.com/RhysLees "RhysLees (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

filamentlaravelpackagephpphplaravelpackagefilament

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/codebar-ag-filament-revealable-field/health.svg)

```
[![Health](https://phpackages.com/badges/codebar-ag-filament-revealable-field/health.svg)](https://phpackages.com/packages/codebar-ag-filament-revealable-field)
```

###  Alternatives

[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[okipa/laravel-table

Generate tables from Eloquent models.

56752.8k](/packages/okipa-laravel-table)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)

PHPackages © 2026

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