PHPackages                             zircote/uuid - 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. zircote/uuid

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

zircote/uuid
============

A PHP UUID object

0.1.0(13y ago)611.8k↑12.5%3Apache2PHPCI passing

Since Dec 6Pushed 2mo agoCompare

[ Source](https://github.com/zircote/Uuid)[ Packagist](https://packagist.org/packages/zircote/uuid)[ Docs](https://github.com/zircote/Uuid)[ RSS](/packages/zircote-uuid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Uuid
====

[](#uuid)

[![Build Status](https://camo.githubusercontent.com/c9e7389923e9c55f68907d8e210c6dbb9f309bee3deec4f333a072a73b24e248/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a6972636f74652f557569642e706e67)](http://travis-ci.org/zircote/Uuid)

Uuid Object

Use:
====

[](#use)

```
var_dump(\Uuid\Uuid::generate());
// string(36) "bb39ae2d-44aa-9e82-9c55-d326c4f12f56"

var_dump(\Uuid\Uuid::generate('7bda4f1062bb11df9e4d5ecec8f8ce7d'));
// string(36) "7bda4f10-62bb-11df-9e4d-5ecec8f8ce7d"

$uuid = new \Uuid\Uuid;

echo $uuid;
// 324e26b2-3378-3c56-6f72-424b3e20b106
```

[![Bitdeli Badge](https://camo.githubusercontent.com/c84703546a996ee423a5a468feb08e2e9f538641d6e20ab080069b61e4572e44/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f7a6972636f74652f757569642f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance56

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

4911d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a194fd475ce8c9633bb70467bcd9ec311f49eae7113a7326a5fdb6bc5526327?d=identicon)[zircote](/maintainers/zircote)

---

Top Contributors

[![zircote](https://avatars.githubusercontent.com/u/307960?v=4)](https://github.com/zircote "zircote (8 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![pemedina](https://avatars.githubusercontent.com/u/2750254?v=4)](https://github.com/pemedina "pemedina (1 commits)")

---

Tags

randomhashuuidunique-id

### Embed Badge

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

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

###  Alternatives

[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k700.2M3.3k](/packages/ramsey-uuid)[paragonie/random_compat

PHP 5.x polyfill for random\_bytes() and random\_int() from PHP 7

8.2k655.0M405](/packages/paragonie-random-compat)[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.4k48.6M278](/packages/hashids-hashids)[symfony/polyfill-uuid

Symfony polyfill for uuid functions

690335.4M63](/packages/symfony-polyfill-uuid)[symfony/uid

Provides an object-oriented API to generate and represent UIDs

610280.0M754](/packages/symfony-uid)[ircmaxell/random-lib

A Library For Generating Secure Random Numbers

84130.2M119](/packages/ircmaxell-random-lib)

PHPackages © 2026

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