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)
9a922d4b-348a-40d4-af8b-cf41ce035396
Best for general purpose use
UUID v7 (Timestamp)
019ee65b-56f7-7004-a344-24bfdd4c93d6
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
63766e80-6cd8-11f1-bc53-5b3c1891bc95
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
7b16a0cc-b524-4fa6-a379-c3ff772ed0ef
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
63766fe0-6cd8-61f1-8dc4-cfc18b4ffa56
v7 (Timestamp)
019ee65b-56f7-7012-90ab-bc6b49a0a45b
v8 (Custom)
278043d2-6e66-8163-a7ef-b1bf8025d30d
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.