Download the PHP package mkopinsky/zxcvbn-php without Composer
On this page you can find all versions of the php package mkopinsky/zxcvbn-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mkopinsky/zxcvbn-php
More information about mkopinsky/zxcvbn-php
Files in mkopinsky/zxcvbn-php
Package zxcvbn-php
Short Description Realistic password strength estimation PHP library based on Zxcvbn JS
License MIT
Homepage https://github.com/mkopinsky/zxcvbn-php
Informations about the package zxcvbn-php
Zxcvbn-PHP is a password strength estimator using pattern matching and minimum entropy calculation. Zxcvbn-PHP is based on the the Javascript zxcvbn project from Dropbox and @lowe. "zxcvbn" is bad password, just like "qwerty" and "123456".
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.
Installation
The library can be installed with Composer by adding it as a dependency to your composer.json file.
After running php composer.phar update
on the command line, include the
autoloader in your PHP scripts so that the ZxcvbnPhp class is available.
Usage
Acknowledgements
Thanks to:
- @lowe for the original Javascript Zxcvbn
- @Dreyer's port for reference for initial implementation
- bjeavon's implementation for building out zxcvbn-php as a solid initial port of the Dropbox library with composer support and unit tests