wterberg/laravel-no-common-passwords 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-23