title: Default random value in Laravel models
body: <p>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.</p>
  
  <p>I've looked at similar <a href="https://stackoverflow.com/questions/18747500/how-to-set-a-default-attribute-value-for-a-laravel-eloquent-model/20621344?noredirect=1#comment54882110_20621344">question</a> on StackOverflow which explains how to setup a default value using the $attributes variable but it doesn't explain the random bit.</p>