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

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

igniphp/uuid
============

2.0.0(7y ago)01731MITPHPPHP ^7.1.0

Since May 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/igniphp/uuid)[ Packagist](https://packagist.org/packages/igniphp/uuid)[ RSS](/packages/igniphp-uuid/feed)WikiDiscussions master Synced 3d ago

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

[![Igni logo](https://github.com/igniphp/common/raw/master/logo/full.svg)](https://github.com/igniphp/common/blob/master/logo/full.svg)
=======================================================================================================================================

[](#)

[![Build Status](https://camo.githubusercontent.com/bc0190a09ca910498d994d8214d5c1003e08da9502e542dc367251a988e94b4f/68747470733a2f2f7472617669732d63692e6f72672f69676e697068702f757569642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/igniphp/uuid)

Igni\\Util\\UuidGenerator
-------------------------

[](#igniutiluuidgenerator)

RFC-compliant Universally Unique Identifiers v5 generator.

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

[](#installation)

```
composer require igniphp/uuid

```

### API

[](#api)

#### `generate(): string`

[](#generate-string)

Generates uuid.

#### `generateShort(): string`

[](#generateshort-string)

Generates shorter representation of uuid (base58 encoded).

#### `toShort(string $string): string`

[](#toshortstring-string-string)

Shorts uuid by packing it into base58 representation.

#### `fromShort(string $string): string`

[](#fromshortstring-string-string)

Returns full uuid as a string from base58 representation.

#### `validate(string $string): bool`

[](#validatestring-string-bool)

Validates if passed string is valid uuid number.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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 ~45 days

Total

2

Last Release

2878d ago

Major Versions

1.0.0 → 2.0.02018-06-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/271195868939c0f91f2eaccb617a4e0967088b9e6fca0edeb305a9af394daf02?d=identicon)[dkraczkowski](/maintainers/dkraczkowski)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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