定制 emiliopedrollo/laravel-secure-passwords 二次开发

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

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

emiliopedrollo/laravel-secure-passwords

Composer 安装命令:

composer require emiliopedrollo/laravel-secure-passwords

包简介

Provide useful ways to ensure strong passwords via validation

README 文档

README

Build Status Latest Stable Version Total Downloads License Code Climate maintainability

This package provides useful ways to ensure strong passwords via validation in Laravel 6 applications.

The provided new validations:

  • alphabetic characters
  • numeric characters
  • mixed case characters
  • symbols
  • common used passwords (provided by SplashData)

Documentation

Installation

Get the package

composer require emiliopedrollo/laravel-secure-passwords:"~0.2".

Usage

Now Laravel's native Validator is extended by those rules:

  • has_uppercase
  • has_lowercase
  • has_both_cases
  • has_digit
  • has_letter
  • has_symbol
  • not_a_common_password

Example

You can apply these rules as described in the validation section on Laravel's website

Validator::make(['password' => 'trustno1']
    'password' => 'has_digit|has_letter|not_a_common_password'
)->passes();   // returns false;

History

[Laravel 5]

[0.1]

  • Initial release

License

This package is under the MIT license. See the complete license:

Reporting Issues or Feature Requests

Issues and feature requests are tracked on GitHub.

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固