phpsa/filament-password-reveal

Password Input with option to show
166,098 51
Install
composer require phpsa/filament-password-reveal
Latest Version:v2.1.1
PHP:^8.0
License:MIT
Last Updated:Dec 13, 2023
Links: GitHub  ·  Packagist
Maintainer: phpsa

Latest Version on Packagist Semantic Release Total Downloads

Filament Password Input

Password input that allows shows/hide, copy and generate

Installation

You can install the package via composer:

composer require phpsa/filament-password-reveal

Usage

Password::make('password')->autocomplete('new_password')->...

additional methods:

Methods that allow some extendability

  • Password Reveal

    • ...->revealable(bool|Closure $condition) - default: true
    • ...->initiallyHidden(bool|Closure $condition) - default: true
    • ...->showIcon(string $icon) - default: heroicon-o-eye
    • ...->hideIcon(string $hide)] - default: heroicon-o-eye-open
  • Password Copy to Clipboard

    • ...->copyable(bool|Closure) default: false
    • ...->copyIcon(string $icon)] default: heroicon-o-clipboard
  • Generate Password ...->generatable(bool|Closure) default: false ...->generateIcon($icon) default: heroicon-o-key ...->passwordLength(int) default: 8 ...->passwordUsesNumbers(bool) default: true ...->passwordUsesSymbols(bool) default: true

All three can be enabled at the same time.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

phpsa/filament-dadjokes

With DadJokes every time you load your control panel you'll be greeted by an epi...

14,856 17
phpsa/filament-feed

Display news on your Dashboard.

662 4
patrickcurl/filament-auth

User & Role (via Spatie Roles/Permissions) Manager Resource For Filament Admin,...

5 0
phpsa/filament-authentication

User & Role (via Spatie Roles/Permissions) Manager Resource For Filament Admin

74,504 128
maystro/filament-popup-modal

A comprehensive modal dialog system for FilamentPHP with progress bars, callback...

9 1

Version History

Version Released PHP License
v2.1.1 ^8.0 MIT
v2.1.0 ^8.0 MIT
V2.0.1 ^8.0 MIT
v2.0.0 ^8.0 MIT
v1.1.4 ^8.0 MIT