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

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

yftzeng/wow-uuid
================

Wow! Uuid for PHP. Simple and Fast. Compliance with RFC 4122, but only UUID version 1 and version 4.

1.0.0(8y ago)0639MITPHPPHP &gt;=5.3.0

Since Mar 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yftzeng/phpWowUuid)[ Packagist](https://packagist.org/packages/yftzeng/wow-uuid)[ Docs](http://blog.gcos.me)[ RSS](/packages/yftzeng-wow-uuid/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

phpWowUuid
==========

[](#phpwowuuid)

Wow! Uuid for PHP. Simple and Fast. Compliance with RFC 4122, but only UUID version 1 and version 4. And support snowflake-like algorithms.

Requirement
-----------

[](#requirement)

PHP 5.3+

Usage
-----

[](#usage)

### Standalone WowLog library

[](#standalone-wowlog-library)

```
include __DIR__.'/src/Wow/Util/Uuid.php';

use \Wow\Util\Uuid as Uuid;

$uuid1 = Uuid::v1();
$uuid4 = Uuid::v4();
$uuid1_order = Uuid::v1_order(false);
$snowflake = Uuid::snowflake(1, 1);              // (machine_id, datacenter_id)
$snowflake_random = Uuid::snowflake_random();
$snowflake_order = Uuid::snowflake_order(1, 1);  // (machine_id, datacenter_id)

```

### Work with Composer

[](#work-with-composer)

#### Edit `composer.json`

[](#edit-composerjson)

```
{
    "require": {
        "yftzeng/wow-uuid": "dev-master"
    }
}

```

#### Update composer

[](#update-composer)

```
$ php composer.phar update

```

#### Sample code

[](#sample-code)

```
include 'vendor/autoload.php';

use \Wow\Util\Uuid as Uuid;

$uuid1 = Uuid::v1();
$uuid4 = Uuid::v4();
$uuid1_order = Uuid::v1_order(false);
$snowflake = Uuid::snowflake(1, 1);              // (machine_id, datacenter_id)
$snowflake_random = Uuid::snowflake_random();
$snowflake_order = Uuid::snowflake_order(1, 1);  // (machine_id, datacenter_id)

```

License
-------

[](#license)

the MIT License

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

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

2994d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/245302?v=4)[Yi-Feng Tzeng (ant)](/maintainers/yftzeng)[@yftzeng](https://github.com/yftzeng)

---

Top Contributors

[![yftzeng](https://avatars.githubusercontent.com/u/245302?v=4)](https://github.com/yftzeng "yftzeng (11 commits)")

---

Tags

securityuuidwow

### Embed Badge

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

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

###  Alternatives

[ramsey/uuid

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

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

Symfony polyfill for uuid functions

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

Provides an object-oriented API to generate and represent UIDs

610280.0M754](/packages/symfony-uid)[webpatser/laravel-uuid

Laravel integration for webpatser/uuid - High-performance drop-in UUID replacements (15% faster than Ramsey). Provides Str macros, HasUuids trait, facades, and casts. RFC 4122/9562 compliant.

1.8k17.3M129](/packages/webpatser-laravel-uuid)[pascaldevink/shortuuid

PHP 7.4+ library that generates concise, unambiguous, URL-safe UUIDs

5951.8M15](/packages/pascaldevink-shortuuid)[keiko/uuid-shortener

A simple shortener library for RFC 4122 compatible UUIDs. Change your 36 chars long UUID into it's shorter equivalent.

150215.4k2](/packages/keiko-uuid-shortener)

PHPackages © 2026

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