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

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

alt-three/uuid
==============

A UUID To Integer Converter

v1.0.0(8y ago)123.9k11MITPHP

Since Mar 30Pushed 7y ago2 watchersCompare

[ Source](https://github.com/AltThree/Uuid)[ Packagist](https://packagist.org/packages/alt-three/uuid)[ RSS](/packages/alt-three-uuid/feed)WikiDiscussions master Synced 1w ago

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

Alt Three UUID
==============

[](#alt-three-uuid)

A UUID to 64-bit signed integer converter.

UUIDs represent 128 bits of data, thus this is a lossy conversion, performed by xoring both halves of the UUID.

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

[](#installation)

This version requires 64-bit [PHP](https://php.net) 7.1 or 7.2.

To get the latest version, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require alt-three/uuid
```

Usage
-----

[](#usage)

Say, you have a UUID to hand, and you'd like to convert it to an integer, then you're in luck!

```
AltThree\Uuid\UuidConverter::convert('2CD3F0DB-036E-41BA-84A6-72933F47F5FB'); // 4734454447164519848
AltThree\Uuid\UuidConverter::convert('{6167B53D-D8D2-42D3-8333-5BCA81A93A4C}'); // -6955673998131833630
```

It's easy as that! We are case insensitive, and support UUIDs with or without the surrounding braces.

Security
--------

[](#security)

If you discover a security vulnerability within this package, please e-mail us at . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

Alt Three Storage is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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

2971d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d95eb26cb8f3919bb5ca3b6d823daeabbf259663778a970349b245c580713c8e?d=identicon)[graham-campbell](/maintainers/graham-campbell)

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

![](https://www.gravatar.com/avatar/9e4934b15ff7d8cffabece955994bed29b31429f4c2e8f13fa0868c753bb1c30?d=identicon)[jbrooksuk](/maintainers/jbrooksuk)

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (12 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")[![CraigHarley](https://avatars.githubusercontent.com/u/8432365?v=4)](https://github.com/CraigHarley "CraigHarley (1 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (1 commits)")

---

Tags

uuidAlt Three

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/alt-three-uuid/health.svg)](https://phpackages.com/packages/alt-three-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

690335.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)[emadadly/laravel-uuid

laravel uuid a simple, automatic UUID generator for any model based on Laravel.

120415.9k3](/packages/emadadly-laravel-uuid)

PHPackages © 2026

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