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

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

maarheeze/uuid
==============

simple uuid value object

1.1.0(2mo ago)01043MITPHPPHP ^8.2

Since Mar 17Pushed 2mo agoCompare

[ Source](https://github.com/maarheeze/uuid)[ Packagist](https://packagist.org/packages/maarheeze/uuid)[ RSS](/packages/maarheeze-uuid/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (3)

maarheeze/uuid
==============

[](#maarheezeuuid)

A simple UUID value object for PHP.

Requirements
------------

[](#requirements)

- PHP 8.2+

Installation
------------

[](#installation)

```
composer require maarheeze/uuid
```

Usage
-----

[](#usage)

### Generating a UUID

[](#generating-a-uuid)

```
$uuid = Uuid::generate();
```

### Creating from a string

[](#creating-from-a-string)

```
$uuid = Uuid::fromString('018e4c7a-3b2f-7000-8000-000000000000');
```

### String output

[](#string-output)

```
(string) $uuid;
$uuid->toString();
```

### JSON

[](#json)

```
$uuid->jsonSerialize();
json_encode($uuid);

Uuid::jsonDeserialize(['uuid' => '018e4c7a-3b2f-7000-8000-000000000000']);
```

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance87

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~33 days

Total

2

Last Release

65d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/734972e64c460b2142b0b04b4f40aa30077c5dd1915411b486ec72efcae3c3bf?d=identicon)[wietsewarendorff](/maintainers/wietsewarendorff)

---

Top Contributors

[![wietsewarendorff](https://avatars.githubusercontent.com/u/313525?v=4)](https://github.com/wietsewarendorff "wietsewarendorff (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k77.4k88](/packages/pocketmine-pocketmine-mp)[getdkan/dkan

DKAN Open Data Catalog

387137.8k2](/packages/getdkan-dkan)[oat-sa/generis

TAO generis library

10144.6k109](/packages/oat-sa-generis)

PHPackages © 2026

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