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)
0e5268be-79c7-4863-b2d3-55e083c8e888
Best for general purpose use
UUID v7 (Timestamp)
019bd2e5-f311-7006-b050-8b9e5a6d35db
Database-optimized sorting
All UUID Versions (Live Generated)
v1 (Time+MAC)
49e825f0-f4b0-11f0-a0f7-5d6eda9081b0
v3 (MD5 Name)
c5e5f349-28ef-3f5a-98d6-0b32ee4d1743
v4 (Random)
3065c445-25ba-416f-b03c-4361e9e7c4ee
v5 (SHA1 Name)
7cb48787-6d91-5b9f-bc60-f30298ea5736
v6 (Reordered)
49e82680-f4b0-61f0-a44f-5beb48d539ef
v7 (Timestamp)
019bd2e5-f311-7012-aba6-003af632202e
v8 (Custom)
4e8c9650-737c-87b5-8a93-d6bc79b7c008
Nil UUID
00000000-0000-0000-0000-000000000000
Next Steps
Explore the UUID library features and generate different UUID types interactively with the examples above.