awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ramsey avatar

ramsey/uuid

0
View on GitHub↗
12,620 stars·524 forks·PHP·MIT·5 viewsuuid.ramsey.dev↗

Uuid

This PHP library provides tools for generating and validating universally unique identifiers according to RFC 4122 standards. It implements a generation tool for creating version 1, 3, 4, and 5 identifiers, as well as sequential and Nil UUIDs.

The library features specialized capabilities for transforming identifiers between hexadecimal strings, binary bytes, integers, and date objects. It supports the generation of sequential identifiers to improve database indexing and storage performance, as well as deterministic name-based identifiers using MD5 or SHA-1 hashing.

The project includes a validation engine for verifying identifier strings and a command line interface for direct generation and decoding from the terminal. It also provides configurable randomness providers, such as Sodium or OpenSSL, to seed the generation process.

Features

  • Unique Identifier Generators - Implements a comprehensive suite of universally unique identifier generators compliant with RFC 4122 standards.
  • Distributed Identifier Generators - Generates unique identifiers that remain distinct across distributed servers without requiring a central coordinator.
  • Sequential UUID Generation - Creates unique identifiers that maintain chronological order to optimize database storage and indexing.
  • Identifier Storage Optimizations - Implements sequential identifier generation and binary encoding to optimize database indexing and reduce storage fragmentation.
  • Database Indexing Optimizers - Optimizes database indexing by generating sequential identifiers that reduce fragmentation in indexed tables.
  • Identifier Generators - Provides a complete toolkit for creating version 1, 3, 4, and 5 UUIDs, including Nil identifiers.
  • Sequential UUIDs - Implements chronological byte ordering for UUIDs to ensure sequential sorting and reduce database index fragmentation.
  • PHP UUID Libraries - Provides a comprehensive set of tools for generating and validating UUIDs within PHP applications.
  • RFC 4122 Implementations - Ensures full compliance with RFC 4122 specifications for interoperability across different systems and languages.
  • Namespace-Based Identifiers - Generates deterministic version 3 and 5 identifiers by hashing a namespace and name together.
  • String Validation and Normalization - Ships a validation engine that verifies if strings conform to standard UUID formats using strict or relaxed patterns.
  • Identifier Codecs - Provides specialized tools to transform identifiers between hexadecimal strings, binary bytes, integers, and date objects.
  • Cryptographic Randomness Providers - Provides a pluggable abstraction layer for fetching entropy from cryptographic providers like Sodium and OpenSSL.
  • Format Validators - Verifies the structural integrity of UUID strings using regular expressions against standard formats.
  • Binary-to-String Transformations - Provides utilities for converting UUIDs between raw binary bytes and human-readable hexadecimal string representations.
  • UUID Validation - Provides a validation engine to verify that input strings conform to standard UUID patterns.
  • String Manipulation - Generates universally unique identifiers.

Star history

Star history chart for ramsey/uuidStar history chart for ramsey/uuid

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Uuid

Similar open-source projects, ranked by how many features they share with Uuid.
  • uuidjs/uuiduuidjs avatar

    uuidjs/uuid

    15,302View on GitHub↗

    This project is a UUID generation library providing a standards-compliant implementation of RFC 4122. It serves as a tool for creating and validating universally unique identifiers across multiple versions to ensure global uniqueness and prevent data collisions. The library supports several generation methods, including random-based entropy, timestamp sequencing, and namespace-based hashing. It also includes utilities for identifier validation, parsing, and converting identifiers between hexadecimal string representations and binary byte arrays. A command line utility is included for the man

    TypeScript
    View on GitHub↗15,302
  • kelektiv/node-uuidkelektiv avatar

    kelektiv/node-uuid

    15,297View on GitHub↗

    node-uuid is a JavaScript library for generating and validating universally unique identifiers that comply with the RFC 4122 standard. It provides a utility for creating random, timestamp-based, or namespace-based identifiers within a Node.js environment. The library includes tools for detecting the specific standard version of a provided identifier and transforming identifiers between different versions. It also provides a command line utility for generating identifiers directly from the terminal. The project covers binary manipulation, including parsing strings into byte arrays and stringi

    TypeScript
    View on GitHub↗15,297
  • jetify-com/typeidjetify-com avatar

    jetify-com/typeid

    3,596View on GitHub↗

    Typeid is a library for generating, encoding, and validating unique identifiers that combine human-readable prefixes with sortable, type-safe suffixes. By integrating descriptive prefixes with standardized binary-to-string conversion, it provides a structured approach to managing identifiers that remain globally unique and consistent across distributed systems. The project distinguishes itself by utilizing time-ordered bit structures and Crockford Base32 encoding to ensure that identifiers are both chronologically sortable and URL-safe. This format allows for the translation of standard 128-b

    Goguidtypeiduuid
    View on GitHub↗3,596
  • baidu/uid-generatorbaidu avatar

    baidu/uid-generator

    5,572View on GitHub↗

    This project is a distributed unique ID generator designed to produce 64-bit globally unique and sortable identifiers across multiple nodes. It implements a Snowflake-compatible algorithm that prevents collisions by combining timestamps, worker identifiers, and sequence numbers into a single integer. The system includes a worker ID orchestrator to allocate and maintain unique machine identities during instance startup and migration using database-backed strategies. To increase request throughput and reduce latency, it utilizes a ring-buffer caching layer that pre-generates identifiers and emp

    Java
    View on GitHub↗5,572
See all 30 alternatives to Uuid→

Frequently asked questions

What does ramsey/uuid do?

This PHP library provides tools for generating and validating universally unique identifiers according to RFC 4122 standards. It implements a generation tool for creating version 1, 3, 4, and 5 identifiers, as well as sequential and Nil UUIDs.

What are the main features of ramsey/uuid?

The main features of ramsey/uuid are: Unique Identifier Generators, Distributed Identifier Generators, Sequential UUID Generation, Identifier Storage Optimizations, Database Indexing Optimizers, Identifier Generators, Sequential UUIDs, PHP UUID Libraries.

What are some open-source alternatives to ramsey/uuid?

Open-source alternatives to ramsey/uuid include: uuidjs/uuid — This project is a UUID generation library providing a standards-compliant implementation of RFC 4122. It serves as a… kelektiv/node-uuid — node-uuid is a JavaScript library for generating and validating universally unique identifiers that comply with the… jetify-com/typeid — Typeid is a library for generating, encoding, and validating unique identifiers that combine human-readable prefixes… baidu/uid-generator — This project is a distributed unique ID generator designed to produce 64-bit globally unique and sortable identifiers… satori/go.uuid — This is a Go library for generating and parsing universally unique identifiers. It provides a programmatic way to… meituan-dianping/leaf — Leaf is a distributed unique ID generation system that provides two distinct modes for producing identifiers across…