wterberg/laravel-no-common-passwords
最新稳定版本:0.3.0
Composer 安装命令:
composer create-project wterberg/laravel-no-common-passwords
包简介
Provides validation rules to check passwords against a list of commonly used passwords.
README 文档
README
github.com/WterBerg/laravel-no-common-passwords
Provides Laravel validation rules to check passwords against a list of commonly used passwords.
License
View the LICENSE.md file for licensing details.
Installation
Installation of wterberg/laravel-no-common-passwords is done via Composer.
composer require wterberg/laravel-no-common-passwords
Usage
Simply register the provided validation rules in your Laravel Validator instances.
use WterBerg\Laravel\NoCommonPasswords\Rules\NoCommonPassword; ... $validator = Validator::make( $dataToValidate, ['password' => ['required', 'string', 'min:8', new NoCommonPassword()]] );
Translations
This project uses the following translatable strings:
| Translatable strings |
|---|
| "Common passwords are not allowed." |
Note: The project provides no translation files. Consuming projects are free to provide their own translations for the languages that are relevant.
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-23