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)
b2a5f0e9-5a22-4e67-9afc-563b9ba40783
Best for general purpose use
UUID v7 (Timestamp)
019c26d6-ae20-7000-bcd0-7c9d58d79d5e
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
35732840-017f-11f1-8a8c-b99b07d1286c
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
8247f74c-52c2-4937-994d-76f8c891c4ee
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
357328d0-017f-61f1-acf4-cbde50fd98df
v7 (Timestamp)
019c26d6-ae21-7002-bbbd-b03a7de25a89
v8 (Custom)
429fe727-258d-86b9-bf86-c7512a707703
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.