ramsey/uuid
:snowflake: A PHP library for generating universally unique identifiers (UUIDs). observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 90
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 70
- age_days: 5172
- days_rel: 76
- days_push: 60
- n_releases_24m: 6
Adoption not part of the score
12633 stars · 527 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ramsey/uuid is a PHP library for generating and working with universally unique identifiers (UUIDs) conforming to RFC 9562 (formerly RFC 4122). It supports all standard UUID versions (1-8), GUIDs, and nonstandard formats, with customization options for codecs, validators, and factories.
Use cases
- generate uuids in php
- create rfc 9562 compliant unique identifiers
- generate uuid v7 for database primary keys
- parse and validate uuid strings in php
- generate name-based md5 or sha1 uuids
- store uuids as bytes or strings in a database
- mock uuids for testing php applications
When to choose
- you need standards-compliant UUID generation in a PHP 8+ project
- you need sortable time-ordered UUIDs (v6/v7) for database keys
- you need to work with GUIDs or nonstandard UUID variants
- you want a mature, widely-used PHP UUID library with active maintenance
When to avoid
- your project is not written in PHP
- you only need simple random IDs and don't require UUID semantics
- you need UUID generation in another language's native runtime without FFI
Facets
library · maturity stable
serialization developer-tools developer-tools databases web-development php cross-platform uuid guid rfc-9562 identifiers composer
4 sources
- readme: https://github.com/ramsey/uuid · fetched 2026-08-28 · 3f48147ff59b
- homepage: https://uuid.ramsey.dev · fetched 2026-08-29 · 58bbac1bec28
- site_page: https://uuid.ramsey.dev/en/stable/quickstart.html · fetched 2026-08-29 · 5c8e2a4720c0
- site_page: https://uuid.ramsey.dev/en/stable/faq.html · fetched 2026-08-29 · 949a93e39dd2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ramsey/uuid | main | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem