password-generator
password-generator copied to clipboard
PHP Library to generate random passwords
Hi, I cannot add my own symbols, is it possible someway? I tried to defined own option and parameter to it $generator ->setLength(25) ->setOptionValue(RequirementPasswordGenerator::OPTION_UPPER_CASE, true) ->setOptionValue(RequirementPasswordGenerator::OPTION_LOWER_CASE, true) ->setOptionValue(RequirementPasswordGenerator::OPTION_NUMBERS, true) ->setOption($symbols,...
How are you using this password generator library? Please comment below as I'm interested in finding out how I can make this better for everyone.
Hi Is there anyway you can add a option to not repeat any digits or characters already used? thanks
Per #11, there is now a note about using a better source of randomness if possible, and a "PHP 7" generator which uses the crypto-safe `random_int` function. However, if you...
I tried adding german umlauts (äüö) as valid lower case letters by setting the parameter PARAMETER_LOWER_CASE `$passwordGenerator->setParameter(ComputerPasswordGenerator::PARAMETER_LOWER_CASE, 'abcdefghijklmnopqrstuvwxyzöäüß')` Unfortunately this leads to generated passwords containing invalid utf8 characters. I believe...
It looks like using `setLength` does not result in a validator enforcing that the given password is at least desired length. I think the intuitive usage is to expect for...
Just idea