2017 © Pedro Peláez
 

library laravel-password-exposed-validation-rule

Laravel validation rule that checks if a password has been exposed in a data breach

image

divineomega/laravel-password-exposed-validation-rule

Laravel validation rule that checks if a password has been exposed in a data breach

  • Wednesday, July 11, 2018
  • by DivineOmega
  • Repository
  • 5 Watchers
  • 31 Stars
  • 87 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 7 Versions
  • 190 % Grown

The README.md

🔒 Laravel Password Exposed Validation Rule

This package provides a Laravel validation rule that checks if a password has been exposed in a data breach. It uses the haveibeenpwned.com passwords API via the divineomega/password_exposed library., (*1)

, (*2)

Travis CI Coverage Status StyleCI , (*3)

Installation

To install, just run the following Composer command., (*4)

composer require divineomega/laravel-password-exposed-validation-rule

Please note that this package requires Laravel 5.1 or above., (*5)

Usage

The following code snippet shows an example of how to use the password exposed validation rule., (*6)

use DivineOmega\LaravelPasswordExposedValidationRule\PasswordExposed;

$request->validate([
    'password' => ['required', new PasswordExposed()],
]);

If you wish, you can also set a custom validation message, as shown below., (*7)

use DivineOmega\LaravelPasswordExposedValidationRule\PasswordExposed;

$request->validate([
    'password' => ['required', (new PasswordExposed())->setMessage('This password is not secure.')],
]);

The Versions

11/07 2018

dev-master

9999999-dev

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall

11/07 2018

v1.2.0

1.2.0.0

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall

11/07 2018

dev-analysis-XNk1J1

dev-analysis-XNk1J1

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall

30/04 2018

v1.1.0

1.1.0.0

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall

27/04 2018

v1.0.2

1.0.2.0

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall

27/04 2018

v1.0.1

1.0.1.0

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall

27/04 2018

v1.0.0

1.0.0.0

Laravel validation rule that checks if a password has been exposed in a data breach

  Sources   Download

LGPL-3.0-only

The Requires

 

by Jordan Hall