The new helper to generate secure passwords in Laravel 10.x
February 19, 2023 — Oftentimes, you may need to generate a secure password for your users. And in such cases, you may use the
Str::random() method to generate a random string. But, the problem with this method is that it generates a random string that may not be secure enough.