Download .zip |
Info | Example | View files (4) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2014-05-30 (4 years ago) | Not enough user ratings | Total: 547 | All time: 5,394 This week: 372 |
Version | License | PHP version | Categories | |||
password-validation 1.0.1 | GNU Lesser Genera... | 5.3 | PHP 5, Text processing, Validation |
Description | Author | ||||||||
This class can generate and validate passwords based in rules. |
|
Utility class for password generation and checking. This is utility class for password generation and checking according to custom password policy rules. Password characters may include several subsets of characters: letters (latin and utf-8 as well), digits, symbols. This sets of characters are fully customizable as well as other password generation configuration params: min_length, letters_count, capitals_count, numbers_count, symbols_count. Default password policy check rule is min_length. Another custom ones may be added to class instance by means of regular expressions. See unit test file for usage Unit test provided in ../tests/ directory. Short usage example provided in ../tests/example.php file. Also see unit test file for possible configuration values Public methods usage: see appropriate doc comment. |
Files |
File | Role | Description | ||
---|---|---|---|---|
tests (2 files) | ||||
Password.php | Class | Main class | ||
readme.txt | Doc. | read me file |
Files | / | tests |
File | Role | Description |
---|---|---|
PasswordTest.php | Test | Test File |
example.php | Example | Short example usage |
password-validation-2014-05-30.zip 7KB | |
password-validation-2014-05-30.tar.gz 6KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.