The Nuxed Uuid component provides a simple functional API for generating UUIDs.
This package can be installed with Composer.
$ composer require nuxed/uuid
use namespace Nuxed\Uuid;
<<__EntryPoint>>
async function main(): Awaitable<void> {
$uuid = Uuid\generate(Uuid\Type::Time);
}
For information on reporting security vulnerabilities in Nuxed, see SECURITY.md.
Nuxed is open-sourced software licensed under the MIT-licensed.