kodus/uuid-v4

Simple UUID v4 generator

1.2.0 2022-08-24 10:34 UTC

This package is auto-updated.

Last update: 2024-10-25 12:19:07 UTC


README

Simple static UUID v4 generator/validator.

PHP Version Build Status

Usage

Create and validate a formatted UUID v4:

use Kodus\Helpers\UUID;

// create UUID v4:

$my_uuid = UUID::create();

// validate UUID v4:

assert(UUID::isValid($my_uuid));