|Ratings||Unique User Downloads||Download Rankings|
|Not enough user ratings||Total: 549||All time: 5,436 This week: 308|
|password-validation 1.0.1||GNU Lesser Genera...||5.3||PHP 5, Text processing, Validation|
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.
|Install with Composer|
|Version Control||Unique User Downloads||Download Rankings|
|User Comments (1)|