ramsey/uuid is a PHP library for generating and working with RFC 4122 version 1, 2, 3, 4, and 5 universally unique identifiers (UUID). ramsey/uuid also supports optional and non-standard features, such as version 6 UUIDs, GUIDs, and other approaches for encoding/decoding UUIDs. A universally unique identifier, or UUID, is a 128-bit unsigned integer, usually represented as a hexadecimal string split into five groups with dashes. The most widely-known and used types of UUIDs are defined by RFC 4122. The probability of duplicating a UUID is close to zero, so they are a great choice for generating unique identifiers in distributed systems. UUIDs can also be stored in binary format, as a string of 16 bytes. The JSON extension is normally enabled by default, but it is possible to disable it. Other required extensions include PCRE and SPL. These standard extensions cannot be disabled without patching PHP’s build system and/or C sources.

Features

  • The only supported installation method for ramsey/uuid is Composer
  • After installing ramsey/uuid, the quickest way to get up-and-running is to use the static generation methods
  • ramsey/uuid provides a number of helpful static methods that help you work with and generate most types of UUIDs, without any special customization of the library
  • ramsey/uuid-doctrine allows the use of ramsey/uuid as a Doctrine field type
  • ramsey/uuid offers a variety of ways to modify the standard behavior of the library through dependency injection
  • It’s possible to replace the default calculator ramsey/uuid uses

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow ramsey/uuid

ramsey/uuid Web Site

You Might Also Like
Monitor your whole IT Infrastructure Icon
Monitor your whole IT Infrastructure

Know what's up and what's new: Monitor all your systems, devices, traffic and applications.

Caters to tech staff, system Administrators, and companies of any size, from small and medium sized businesses to enterprises that need their IT network to be reliable and easy to monitor in real-time. Equipped with an easy-to-use, intuitive interface with a cutting-edge monitoring engine. PRTG optimizes connections and workloads as well as reducing operational costs by avoiding outages while saving time and controlling service level agreements (SLAs).
Start Your Free PRTG Trial Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ramsey/uuid!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2021-05-24