2017 © Pedro Peláez
 

library laravel-pwned-passwords-validator

Validation package that checks Pwned Passwords to validate passwords https://haveibeenpwned.com/Passwords

image

acodeninja/laravel-pwned-passwords-validator

Validation package that checks Pwned Passwords to validate passwords https://haveibeenpwned.com/Passwords

  • Thursday, March 15, 2018
  • by acodeninja
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel PwnedPassword Validation

Develop Build Status Develop Master Build Status Master Total Downloads Latest Stable Version Latest Unstable Version License, (*1)

Validate that a given string is not present in the pwned passwords list at https://haveibeenpwned.com/Passwords, (*2)

Installation

Install using composer from packagist, (*3)

composer require acodeninja/laravel-pwned-passwords-validator

Usage

Use as you would any other validation rule, (*4)

In a request

/**
 * Get the validation rules that apply to the request.
 *
 * @return array
 */
public function rules()
{
    return [
        'email' => 'required|email|unique:users,email',
        'password' => 'required|pwned_password_strict',
    ];
}

In a controller

$validator = Validator::make($request->all(), [
    'email' => 'required|email|unique:users,email',
    'password' => 'required|pwned_password_strict',
])->validate();

The Versions

15/03 2018

dev-develop

dev-develop

Validation package that checks Pwned Passwords to validate passwords https://haveibeenpwned.com/Passwords

  Sources   Download

MPL-2.0

The Requires

 

The Development Requires

by lawrence

15/03 2018

dev-master

9999999-dev

Validation package that checks Pwned Passwords to validate passwords https://haveibeenpwned.com/Passwords

  Sources   Download

MPL-2.0

The Requires

 

The Development Requires

by lawrence

15/03 2018

v1.0.1

1.0.1.0

Validation package that checks Pwned Passwords to validate passwords https://haveibeenpwned.com/Passwords

  Sources   Download

MPL-2.0

The Requires

 

The Development Requires

by lawrence

15/03 2018

v1.0.0

1.0.0.0

Validation package that checks Pwned Passwords to validate passwords https://haveibeenpwned.com/Passwords

  Sources   Download

MPL-2.0

The Requires

 

The Development Requires

by lawrence