random token in laravel code example
Example: laravel generate unique token
use Illuminate\Support\Str;
public function yourFunction(){
$var = Str::random(32);
dd($var);
}
use Illuminate\Support\Str;
public function yourFunction(){
$var = Str::random(32);
dd($var);
}