# webpatser/laravel-uuid

Laravel package to generate and to validate a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in.

Repository: https://github.com/webpatser/laravel-uuid
Canonical: https://ross.abutalabs.com/products/laravel-uuid
Language: PHP
License Family: other
Topics: uuid, php, laravel-uuid, laravel-validation
Last push: 2026-07-02T12:15:55+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 4736, "days_push": 62, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1801, forks 149 (observed 2026-08-28T04:05:38.074116+00:00)

## What it is
A Laravel package for generating and validating UUIDs according to RFC 4122, supporting versions 1, 3, 4, and 5. It includes Eloquent model integration for automatic UUID primary keys and validation rules.

## Use cases
- generate uuids in laravel
- validate uuid fields in laravel requests
- use uuids as eloquent model primary keys
- generate database-ordered uuids for performance
- rfc 4122 compliant uuid generation in php

## When to choose
- you are building a Laravel app that needs UUID keys or validation
- you want automatic UUID generation on Eloquent models
- you need ordered UUIDs optimized for database indexing

## When to avoid
- you are not using Laravel or PHP
- you need UUID versions other than 1, 3, 4, or 5
- you need a framework-agnostic PHP UUID library

## Facets
- artifact type: library
- maturity: active
- function: serialization, form-handling, developer-tools
- domain: web-development, developer-tools, databases
- platform: php
- tags: uuid, laravel-package, eloquent, rfc-4122, laravel

## Member repositories
- webpatser/laravel-uuid (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.074116+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:14.133348+00:00, confidence not recorded.
  - readme: https://github.com/webpatser/laravel-uuid (fetched 2026-08-28T04:05:38.074116+00:00, sha 2b8a071d69d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
