UUID Library v1.3.0
Installation Guide
webpatser@dev:
~/uuid/1.3.0
$ cat installation.md
Installation - UUID Library v1.3.0
High-performance PHP UUID library generating UUIDs according to RFC 4122 and RFC 9562 standards. 15% faster than Ramsey UUID.
composer require webpatser/uuid
Requirements
- PHP 8.2 or higher
- No additional extensions required
- Pure PHP implementation
Laravel Integration
Live Interactive Example
UUID v4 (Random)
8ec3b173-beb3-411b-af37-225edffed11f
Best for general purpose use
UUID v7 (Timestamp)
019a3232-468f-7002-a1c7-5124df18d828
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
df6576d0-b51a-11f0-86ca-790bf3ec9616
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
25e4ac46-eab7-4da9-b65e-04f6b8f44b87
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
df657900-b51a-61f0-b58d-1533d7ca670b
v7 (Timestamp)
019a3232-468f-7018-b44a-0d53e3ebb00e
v8 (Custom)
0e192c1a-6883-8cd6-8f65-b1bccbccdf59
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.