PHPackages                             kodus/uuid-v4 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kodus/uuid-v4

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kodus/uuid-v4
=============

Simple UUID v4 generator

1.3.0(1y ago)160.9k↓43.5%4MITPHPPHP &gt;=8.0

Since Jan 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/kodus/uuid-v4)[ Packagist](https://packagist.org/packages/kodus/uuid-v4)[ RSS](/packages/kodus-uuid-v4/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (5)Used By (4)

kodus/uuid-v4
=============

[](#kodusuuid-v4)

Simple static UUID v4 generator/validator.

[![PHP Version](https://camo.githubusercontent.com/487804500a039aee09e5d93e41b745b4cd68dcc0fdf801e67d26d30b93f83358/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302532422d626c75652e737667)](https://packagist.org/packages/kodus/uuid-v4)[![Build Status](https://camo.githubusercontent.com/ec5d00e18b807496494750c942bc297ef5664e51bac9eb53aadffefad53db0c1/68747470733a2f2f7472617669732d63692e6f72672f6b6f6475732f757569642d76342e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kodus/uuid-v4)

Usage
-----

[](#usage)

Create and validate a formatted UUID v4:

```
use Kodus\Helpers\UUID;

// create UUID v4:

$my_uuid = UUID::create();

// validate UUID v4:

assert(UUID::isValid($my_uuid));
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~968 days

Total

4

Last Release

540d ago

PHP version history (2 changes)1.0.0PHP ^7.0

1.2.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5709900?v=4)[Thomas Nordahl Pedersen](/maintainers/thomasnordahl-dk)[@thomasnordahl-dk](https://github.com/thomasnordahl-dk)

![](https://avatars.githubusercontent.com/u/13201214?v=4)[Bo Andersen](/maintainers/boan-jfm)[@boan-jfm](https://github.com/boan-jfm)

![](https://avatars.githubusercontent.com/u/32329468?v=4)[Jesper Østergaard Jensen](/maintainers/JyskFynskeMedierJoej)[@JyskFynskeMedierJoej](https://github.com/JyskFynskeMedierJoej)

![](https://avatars.githubusercontent.com/u/25659854?v=4)[Michelle Fich](/maintainers/mifich)[@mifich](https://github.com/mifich)

---

Top Contributors

[![rhl-jfm](https://avatars.githubusercontent.com/u/12860072?v=4)](https://github.com/rhl-jfm "rhl-jfm (7 commits)")[![mindplay-dk](https://avatars.githubusercontent.com/u/103348?v=4)](https://github.com/mindplay-dk "mindplay-dk (4 commits)")[![mifich](https://avatars.githubusercontent.com/u/25659854?v=4)](https://github.com/mifich "mifich (1 commits)")[![vortrixs](https://avatars.githubusercontent.com/u/15426116?v=4)](https://github.com/vortrixs "vortrixs (1 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/kodus-uuid-v4/health.svg)

```
[![Health](https://phpackages.com/badges/kodus-uuid-v4/health.svg)](https://phpackages.com/packages/kodus-uuid-v4)
```

###  Alternatives

[composer/pcre

PCRE wrapping library that offers type-safe preg\_\* replacements.

707347.9M60](/packages/composer-pcre)[sensiolabs/insight

SymfonyInsight SDK

8217.8k](/packages/sensiolabs-insight)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
