Answers for "how to create random token in laravel"

PHP
1

laravel generate unique token

use Illuminate\Support\Str;

public function yourFunction(){
 $var = Str::random(32);

 dd($var);
}
Posted by: Guest on February-19-2020

Code answers related to "how to create random token in laravel"

Browse Popular Code Answers by Language