taylornetwork/laravel-username-generator
increment_max_attempts config option to avoid an infinite loop should increment make unique method get used.isUnique method to BaseDrivergetUsernameColumnName method.makeUnique algorithm
increment_max_attemptsgetColumn method in favour of getUsernameColumnName (this likely affects no one unless you're specifically overriding that trait.)usernameColumn property in the parent model if the column is different than 'username' and the config file is not directly changed.findSimilarUsernames would return an incorrect number of similarities when using the REGEXP function with a separator.prefer_regexp config option by default is now falsegetName method from GeneratesUsernamesmakeUsername method. Will be removed in v2Generator constructor accepting a nameGenerator constructor accepts a name and config, name is deprecated.generate method to replace makeUsernameGeneratesUsernames traitgenerateFor methodmakeUsername methodGenerator will now only accept an array of config as the optional constructing argumentsUsernameGenerator facadeHow can I help you explore Laravel packages today?