Hi, pls i want to generate an 8 character random key that support both alphabetic and numeric characters, in this format (e029d2f2) i need it to generate at least 2 million of this random keys for a project i am working on. so how i do that in laravel php.
The same way you would do it in php :)
How random does it need to be?
substr(str_shuffle(MD5(microtime())), 0, 8);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community