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)
73df59c7-12a5-4287-9492-c6881b84be8c
Best for general purpose use
UUID v7 (Timestamp)
01a0b900-3f01-700b-b6a4-89ad764b3bed
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
ad1e7cd0-b40c-11f1-b80d-a9f1e483e6e0
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
972e70eb-9596-4eb9-885f-425ab2f44e1d
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
ad1e7e80-b40c-61f1-b08d-19e56a492d60
v7 (Timestamp)
01a0b900-3f02-7001-bb4a-7cc740a9346d
v8 (Custom)
f7a18d3e-18e8-8a26-ab55-d6d05f035d4d
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.