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

ActiveLibrary

eve/uuid
========

eve's simple Ramsey UUID wrapper

v1.0.0(5y ago)615.0k1MITPHPPHP ^7.4|^8.0

Since Nov 26Pushed 5y ago2 watchersCompare

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

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

eve/uuid [![Build Status](https://camo.githubusercontent.com/8fdc7af2aaa2504b321aec1ee9ac1cc759e3affaf1e23989ee38490efbf14df0/68747470733a2f2f7472617669732d63692e6f72672f457665696f2f757569642e7376673f6272616e63683d6d61696e)](https://travis-ci.org/Eveio/uuid)
==================================================================================================================================================================================================================================================================

[](#eveuuid-)

[![banner](./assets/banner.png)](./assets/banner.png)

> A simple wrapper for the great [ramsey/uuid](https://github.com/ramsey/uuid) package.

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

[](#installation)

Require the package with Composer:

```
compose require eve/uuid
```

Usage
-----

[](#usage)

For the sake of simplicity and internal usage, eve's `Uuid` class only deals with `Ramsey\Uuid` v4 *as strings*. Any more advanced usage will have to be done directly with `Ramsey\Uuid`.

```
use Eve\Uuid\Uuid;

// Generate a UUID string
$uuid = Uuid::generate();

// The package also comes with a handy global function
$uuid = uuid();

// Freeze the next generated value, useful for testing
$frozenValue = Uuid::freeze();
assert(Uuid::generate() === $frozenValue); // true

// You can also supply a custom value for freezing
Uuid::freeze('dummy');
assert(Uuid::generate() === 'dummy'); // true

// "Reset" UUID generation to normal. This can for example be put in PHPUnit's `tearDown` method.
Uuid::unfreeze();
```

License
-------

[](#license)

MIT, of course.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

1998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf42e22d8fba4d5475bd6dae13887c897bbdaa99765b209010c09b7fc1f3aef7?d=identicon)[phanan](/maintainers/phanan)

![](https://www.gravatar.com/avatar/376ea0f861faf4e87da5ed1e931109da69b9af9b496eab1463788d421e3c74df?d=identicon)[eveio](/maintainers/eveio)

![](https://avatars.githubusercontent.com/u/230112070?v=4)[erikeve](/maintainers/erikeve)[@erikeve](https://github.com/erikeve)

---

Top Contributors

[![phanan](https://avatars.githubusercontent.com/u/8056274?v=4)](https://github.com/phanan "phanan (6 commits)")

---

Tags

hacktoberfestphpuuiduuidv4

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[stancl/tenancy

Automatic multi-tenancy for your Laravel application.

4.3k6.6M40](/packages/stancl-tenancy)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)

PHPackages © 2026

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