I am trying to set up a random default value for a Laravel model so that when a user registers a random value is saved to the database for each user.
I've looked at similar question on StackOverflow which explains how to setup a default value using the $attributes variable but it doesn't explain the random bit.