You should take a look at signed urls.
https://laravel.com/docs/8.x/urls#signed-urls
Btw ten digits is way too insecure.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
good day every one I would like to ask for some help, I want to generate a random 10 digit account number to all my users , this random number generated should be send to users after they have successfully completed there registration and after that users should be able to use this number generated to login into there account
if you can assist me with the code and guidelines I will so much appreciate
Please or to participate in this conversation.