Registry / utility / ramsey-uuid

ramsey-uuid

JSON →
library4.9.3phppackagistunverified

A PHP library for generating and working with universally unique identifiers (UUIDs).

composer require ramsey/uuid
INSTALL
IMPORT
SIG · RAMSEY-UUID
R
ramsey-uuid
utilityphpv4.9.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Uuid
use Ramsey\Uuid\Uuid;

Generates a random UUID v4 and prints it.

use Ramsey\Uuid\Uuid; $uuid = Uuid::uuid4(); echo $uuid->toString();
Debug
Known issues
gotchaUUID v1 requires system clock and MAC address; may expose server info
fix
Use uuid4() for random UUIDs unless time-based ordering is needed.
affects: *
Upgrade
Version history
4.9.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
ramsey-uuid — pip install ramsey-uuid · libregistry