Page tree
Skip to end of metadata
Go to start of metadata
<?php
//Individually
$uuid = \Ramsey\Uuid\Uuid::uuid4()->toString();
//Wrap it
public function generateId(){
	return \Ramsey\Uuid\Uuid::uuid4()->toString();
}
$uuid = $this->generateId();


  • No labels