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)
ec40b8d1-2201-4bbb-ae0d-c2b356089dfc
Best for general purpose use
UUID v7 (Timestamp)
019c2683-928a-7008-8c77-46c7fae63225
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
870d83d0-0172-11f1-b594-475d9c6ef417
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
26b3c4b1-f234-452b-81a4-2c5be9b73c0f
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
870d8530-0172-61f1-ad49-757f4b6804e1
v7 (Timestamp)
019c2683-928a-7017-8c72-146030048749
v8 (Custom)
0535478b-6515-8980-813b-70606e48eeb0
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.