elsayed85/filament-password-reveal

Password Input with optino to show

Fund package maintenance!
phpsa

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 12

Language:Blade

v1.2 2022-08-10 21:28 UTC

This package is not auto-updated.

Last update: 2024-05-03 03:24:36 UTC


README

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
    • ...->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.