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)
19b9e583-46b3-4118-add1-89d072cfd597
Best for general purpose use
UUID v7 (Timestamp)
019ff2aa-d99e-7008-92cc-b1a81d87e862
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
45561080-95c9-11f1-9356-4bc0af58771d
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
acc163df-551d-4869-bff8-56b1dfc6cf4c
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
455611c0-95c9-61f1-a22b-c98bf048d5de
v7 (Timestamp)
019ff2aa-d99e-701c-9616-ea5366a8e7a7
v8 (Custom)
e6d5d141-ecae-8a8e-8a6a-7acf0112dffd
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.