papalardo/filament-password-input
最新稳定版本:1.0.2
Composer 安装命令:
composer require papalardo/filament-password-input
包简介
Password input for filament built with laravel
README 文档
README
Plugin built for Filament package with Laravel framework. This input shows/hides the password when clicking on the eye
Installation
Install via composer:
composer require papalardo/filament-password-input
Result
Usage
use Illuminate\Validation\Rules\Password as PasswordRule; use Papalardo\FilamentPasswordInput\PasswordInput; class UserPasswordForm { public static function inputs(): array { return [ PasswordInput::make('password') ->label('Senha') ->required() ->rules(['confirmed', PasswordRule::min(8)]), PasswordInput::make('password_confirmation') ->label('Confirmação da senha') ->required(), ]; } }
统计信息
- 总下载量: 206
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-11
