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)
4e95a428-84dc-4aea-bf2b-41e91a8ad42e
Best for general purpose use
UUID v7 (Timestamp)
01a1b1cb-c414-7004-ae79-cb6f40d93ee2
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
3b1c99d0-da03-11f1-9fd1-a91bf5b062cb
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
ac21228d-1f14-4c03-a153-20be56998ad6
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
3b1c9bf0-da03-61f1-9e70-fde3c199edfa
v7 (Timestamp)
01a1b1cb-c414-7012-a7f0-8b8080cf193f
v8 (Custom)
6b8e021d-2cd5-8bf1-bb2b-fbcab5baf6ab
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.