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)
bd614fe3-3629-4e68-ad07-9d0273934fa1
Best for general purpose use
UUID v7 (Timestamp)
019c35ae-5320-7000-b4a7-dd98228a873c
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
fd1076f0-03c2-11f1-9a39-e513b7ceecdf
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
73eee56a-4061-4955-8c72-407569d0eaea
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
fd107780-03c2-61f1-b8cb-b5be9627bcdf
v7 (Timestamp)
019c35ae-5320-701a-bb21-bff1b5e5b45d
v8 (Custom)
1968da2e-2413-8628-87fd-6f4cf475a47d
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.