Releases: taylornetwork/laravel-username-generator
Releases · taylornetwork/laravel-username-generator
Added word dictionary support
Added support for empty names to be converted to random usernames using a wordlist
Fix custom column bug
Fix bug detailed in #16
2.2.1
Update composer.json to include more php versions
Added minimum length support
Merge pull request #15 from taylornetwork/enforce-min-length Added min length support
Add email and driver support
2.0.0: Merge pull request #8 from taylornetwork/dev
Fixes extra separators
This fixes an issue where separators were added when trimming extra characters.
Example (using '-' as separator):
$generator->generate('123 this is a test!');
Would return:
'----this-is-a-test-'
If no separator was used this behaviour would not be seen.
Fix assignment issue
1.1.3 Fix assignment error
1.1.2
Potential minor fix for 5.7
v1.1.0
- Changed
makeUsername
method togenerate
(makeUsername
STILL has support, usegenerate
preferably) - Added
generateFor method
which allows you to pass a model for the generator to grab the name directly - Added
GeneratesUsernames
trait which will automatically add a username on model saving if it's null - Changed the constructor to allow an array parameter to set config