Download the PHP package jiriferkl/dumbpass without Composer
On this page you can find all versions of the php package jiriferkl/dumbpass. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jiriferkl/dumbpass
More information about jiriferkl/dumbpass
Files in jiriferkl/dumbpass
Package dumbpass
Short Description Smart control of dumb passwords. Guard your users from security problems by preventing them from having dumb passwords.
License MIT
Homepage https://github.com/jiriferkl/dumbpass
Informations about the package dumbpass
Dumbpass
Smart control of dumb passwords. Guard your users from security problems by preventing them from having dumb passwords.
Introduction
This package can be used to verify the user password. It checks list of 10,000 worst passwords as analyzed by an IT security analyst.
With this package you have to set absolutely nothing. Everything is pre-set. But you can set everything you like.
This package
- Checks password strength (length, numbers, capital letters..) Default settings is bellow.
- Checks list of 10,000 worst passwords
- Returns result in simple object which contains:
- boolean result variable
- array with error messages (If any)
- Default language is EN but you can choose another (examples bellow)
Install
Via composer
You must have PHP 7.0.
Use
Default setting is:
- Minimum length 9 characters
- Password has to contain at least one number
- Password has to contain at least one capital letter
- Password has to contain at least one lower case letter
- Password has to contain at least one special character
- Password has to be original not just too common
So it is very simple:
I don't want to use default setting
So go ahead.
Can I choose different language please?
Yes.
My language isn't an option
Well you have two options:
- Send pull request (It's easy and it's only a few lines.)
- Implements interface and make your own Messages class. It has one simple method.
Now the messages are in your language. Congrats.
Do you have your own most common password list?
OK.