---
description: >-
  https://stackoverflow.com/questions/58163406/after-upgrading-laravel-from-5-6-to-6-0-call-to-undefined-str-random-function
---

# Call to undefined str\_random() function not working (ok)

```
composer require laravel/helpers
```
