PHP Classes

PHP UUID Generation class: Generate UUID codes in either version 3, 4 or 5

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 235 All time: 8,070 This week: 200Up
Version License PHP version Categories
uuid 1.0BSD License5Algorithms, PHP 5, Text processing


This class can generate UUID (Universally Unique Identifier) codes in either version 3, 4 or 5.

For versions 3 and 5 it can take a namespace and a name and uses MD5 or SHA1 hashes to generate the UUID value.

For version 4 it only uses random numbers to generate the UUID value.

Innovation Award
PHP Programming Innovation award nominee
October 2015
Number 6
UUID (Universally Unique Identifiers) are strings often used as unique serial numbers. There are several versions of a specification for creating UUID values.

This class can generate serial numbers using either versions 3, 4 or 5 of the UUID specification.

Manuel Lemos
Picture of Pranav Bhatt
Name: Pranav Bhatt <contact>
Classes: 2 packages by
Country: India India
Age: ???
All time rank: 3282215 in India India
Week rank: 349 Up18 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file UUID.php Class UUID generator

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,070
This week:200Up