定制 phpsa/filament-password-reveal 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phpsa/filament-password-reveal

最新稳定版本:v2.1.1

Composer 安装命令:

composer require phpsa/filament-password-reveal

包简介

Password Input with option to show

README 文档

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

统计信息

  • 总下载量: 131.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 51
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 51
  • Watchers: 2
  • Forks: 13
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-28