Download the PHP package locastic/zxcvbn-password-validator without Composer
On this page you can find all versions of the php package locastic/zxcvbn-password-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package zxcvbn-password-validator
ZxcvbnPasswordValidator
Realistic Symfony password strength validator based on Dropbox's zxcvbn project.
Overview
Zxcvbn-PHP is a password strength estimator using pattern matching and minimum entropy calculation. Zxcvbn-PHP is based on the Javascript zxcvbn project from Dropbox and @lowe. "zxcvbn" is bad password, just like "qwerty" and "123456".
More info here.
zxcvbn attempts to give sound password advice through pattern matching and conservative entropy calculations. It finds 10k common passwords, common American names and surnames, common English words, and common patterns like dates, repeats (aaa), sequences (abcd), and QWERTY patterns.
This validator is based on library: Zxcvbn-PHP
Installation
Options
You can use the Locastic\Component\ZxcvbnPasswordValidator\Validator\Constraints\ZxcvbnPasswordValidator
constraint with the following options.
Option | Type | Description |
---|---|---|
message | string |
The validation message (default: password_too_weak ) |
minEntropy | float |
Desired minimal entropy value (password strength |
Annotations
If you are using annotations for validation, include the constraints namespace:
and then add the ZxcvbnPasswordValidator constraint to the relevant field:
YAML
Support
Need help at your project? Write us an email on [email protected]
All versions of zxcvbn-password-validator with dependencies
bjeavons/zxcvbn-php Version ^0.3.0
psr/container Version ^1.0
psr/log Version ^1.0
symfony/validator Version ^3.3.6 || ^4.0