laravel automatically generate unique username

Solutions on MaxInterview for laravel automatically generate unique username by the best coders in the world

showing results for - "laravel automatically generate unique username"
Margret
27 Jun 2020
1Str::slug($request->name) . (User::max('id') + random_int(99, 99999))