PHPackages                             martiis/uuid-console - 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. [CLI &amp; Console](/categories/cli)
4. /
5. martiis/uuid-console

ActiveProject[CLI &amp; Console](/categories/cli)

martiis/uuid-console
====================

A console application for generating and decoding UUIDs.

v0.0.2(3y ago)04GPL-3.0-onlyPHPPHP ^8

Since Oct 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/martiis/uuid-conosle)[ Packagist](https://packagist.org/packages/martiis/uuid-console)[ RSS](/packages/martiis-uuid-console/feed)WikiDiscussions main Synced today

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

martiis/uuid-console
====================

[](#martiisuuid-console)

This is a console application for generating UUIDs with [ramsey/uuid](https://github.com/ramsey/uuid) and inspired by [ramsey/uuid-console](https://github.com/ramsey/uuid-console).

The biggest difference is in the *decode* command which will detect time-ordered UUIDs and also dump time-ordered value for UUID version 1. I find this useful while working with database clients because they usually only format values into hex. *Decode* command is not as rich as [ramsey](https://github.com/ramsey/uuid-console), but it's enough for me.

Usage
-----

[](#usage)

### Generate

[](#generate)

Will only generate version "1" and "4".

```
php ./bin/uuid generate
18c68556-4d4f-11ed-b7cd-0242ac120002

```

```
php ./bin/uuid generate -c 3
3b6589cc-4d4f-11ed-85f7-0242ac120002
3b8f1012-4d4f-11ed-90e0-0242ac120002
3b8f133c-4d4f-11ed-a9f0-0242ac120002

```

```
php ./bin/uuid generate 4 -c 2
98721e31-4ab5-4104-ba0f-3b1ce34407f9
2b2b019b-57a8-444a-b2f5-e28aa1d0d45b

```

### Decode

[](#decode)

```
php ./bin/uuid decode 3b8f1012-4d4f-11ed-90e0-0242ac120002
 -------------- --------------------------------------
  str            3b8f1012-4d4f-11ed-90e0-0242ac120002
  str-hex        3b8f10124d4f11ed90e00242ac120002
  version        1
  ord-time       0x11ed4d4f3b8f101290e00242ac120002
  encoded time   2022-10-16T12:37:01+00:00
 -------------- --------------------------------------

```

If detects UUID starting with `0x` will decode as time-ordered.

```
php ./bin/uuid decode 0x11ed4d4f3b8f101290e00242ac120002
 -------------- --------------------------------------
  str            3b8f1012-4d4f-11ed-90e0-0242ac120002
  str-hex        3b8f10124d4f11ed90e00242ac120002
  version        1
  ord-time       0x11ed4d4f3b8f101290e00242ac120002
  encoded time   2022-10-16T12:37:01+00:00
 -------------- --------------------------------------

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

2

Last Release

1354d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bc91e1826a9b621e9aaaaf720dbc848b9997562d80715a090e01d95db31d756?d=identicon)[martiis](/maintainers/martiis)

---

Top Contributors

[![martiis](https://avatars.githubusercontent.com/u/4210866?v=4)](https://github.com/martiis "martiis (8 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M300](/packages/laravel-horizon)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)

PHPackages © 2026

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