Let's look at my old buddy time(), who always has something for me during my audits - usually with my other buddy, md5()!. But this time it's being used to avoid filename collisions?
Surely there is a better way...
https://securinglaravel.com/security-tip-avoiding-filename-collisions/#Laravel