<?php
//Individually
$uuid = \Ramsey\Uuid\Uuid::uuid4()->toString();
//Wrap it
public function generateId(){
	return \Ramsey\Uuid\Uuid::uuid4()->toString();
}
$uuid = $this->generateId();