PHP Package: ramsey/uuid

Ramsey UUID PHP library provides unique identifier generation capabilities for easy PHP integration.

Current Version: 4.8.1
Last Updated: 2025-06-01
PHP Requirement: ^8.0
Dependencies:
ramsey/uuid-doctrine
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Ramsey UUID is a robust PHP library that simplifies the generation and handling of universally unique identifiers. It offers seamless integration, solid performance, and a wide array of customization options for UUID generation in PHP applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.8.1

Download Download v4.8.1

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/ramsey/uuid/4.8.1/loader.php';
require_once 'libs/ramsey/uuid-doctrine/2.1.0/loader.php';

use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidFactory;

$obj = new Uuid();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.