password-generator icon indicating copy to clipboard operation
password-generator copied to clipboard

PHP Library to generate random passwords

Results 7 password-generator issues
Sort by recently updated
recently updated
newest added

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.

question

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...

enhancement

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...