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)
397b7106-eb0a-4a74-9de8-15944dc30acb
Best for general purpose use
UUID v7 (Timestamp)
019941ec-ac6e-700d-a281-5e9ca1344f45
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
4090e380-9071-11f0-8b25-7b22e4fe4510
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
29032c91-47f6-4731-9d92-15c1f5dc32e4
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
4090e400-9071-61f0-96f4-81c113865936
v7 (Timestamp)
019941ec-ac6e-7019-a94c-97d69ed26a02
v8 (Custom)
0e957304-b4de-87ea-b3ad-05a8665ddc53
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.