PHPackages                             lorenzomar/mysql-optimized-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. [Database &amp; ORM](/categories/database)
4. /
5. lorenzomar/mysql-optimized-uuid

ActiveLibrary[Database &amp; ORM](/categories/database)

lorenzomar/mysql-optimized-uuid
===============================

Optimized binary representation of UUID to use as primary key in MySQL table. See www.percona.com/blog/2014/12/19/store-uuid-optimized-way

1.0.0(10y ago)17MITPHPPHP &gt;=5.4

Since Mar 22Pushed 10y ago1 watchersCompare

[ Source](https://github.com/lorenzomar/mysql-optimized-uuid)[ Packagist](https://packagist.org/packages/lorenzomar/mysql-optimized-uuid)[ Docs](https://github.com/lorenzomar/mysql-optimized-uuid)[ RSS](/packages/lorenzomar-mysql-optimized-uuid/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

MySQL Optimized UUID [![Build Status](https://camo.githubusercontent.com/8929f3c53cf61378b6fd0a0911e9c9cf009372b1366d002fa600d392c13ce4fc/68747470733a2f2f7472617669732d63692e6f72672f6c6f72656e7a6f6d61722f6d7973716c2d6f7074696d697a65642d757569642e737667)](https://travis-ci.org/lorenzomar/mysql-optimized-uuid)
=====================================================================================================================================================================================================================================================================================================================

[](#mysql-optimized-uuid-)

[![Latest Stable Version](https://camo.githubusercontent.com/68632c5fc33a2cdde162a8512a590e37737fd1c80ec197e055e6580848d74a0f/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72656e7a6f6d61722f6d7973716c2d6f7074696d697a65642d757569642f762f737461626c65)](https://packagist.org/packages/lorenzomar/mysql-optimized-uuid)[![Total Downloads](https://camo.githubusercontent.com/af2705893e090f812cbf202e3ff30163ace04d1a2a0212b6173bc0b6848a32b4/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72656e7a6f6d61722f6d7973716c2d6f7074696d697a65642d757569642f646f776e6c6f616473)](https://packagist.org/packages/lorenzomar/mysql-optimized-uuid)[![Latest Unstable Version](https://camo.githubusercontent.com/3a3a011a3d2cfa1971d43d648d518a0c78ebcff86fbac04c005af0bbd4a72a94/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72656e7a6f6d61722f6d7973716c2d6f7074696d697a65642d757569642f762f756e737461626c65)](https://packagist.org/packages/lorenzomar/mysql-optimized-uuid)[![License](https://camo.githubusercontent.com/670642851d889d1dfb1543249e12f26d415d41c35c71c8d178df995a5cee163d/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72656e7a6f6d61722f6d7973716c2d6f7074696d697a65642d757569642f6c6963656e7365)](https://packagist.org/packages/lorenzomar/mysql-optimized-uuid)

Optimized binary representation of UUID to use as primary key in MySQL table. See [www.percona.com/blog/2014/12/19/store-uuid-optimized-way](http://www.percona.com/blog/2014/12/19/store-uuid-optimized-way) for further details.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

3703d ago

### Community

Maintainers

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

---

Top Contributors

[![lorenzomar](https://avatars.githubusercontent.com/u/612386?v=4)](https://github.com/lorenzomar "lorenzomar (14 commits)")

---

Tags

mysqluuididentifier

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lorenzomar-mysql-optimized-uuid/health.svg)

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

###  Alternatives

[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[knplabs/doctrine-behaviors

Doctrine Behavior Traits

92212.7M64](/packages/knplabs-doctrine-behaviors)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[rorecek/laravel-ulid

Laravel package for ULID (Universally Unique Lexicographically Sortable Identifier)

52160.3k1](/packages/rorecek-laravel-ulid)[jrsaunders/shard-matrix

A Complete Database Sharding system for MYSQL and/or Postgres. Using Laravels Query Builder easily scale up your application. Configure your whole solution in one Yaml Config file.

271.5k](/packages/jrsaunders-shard-matrix)[weebly/laravel-mutate

Mutate Laravel attributes

1354.7k](/packages/weebly-laravel-mutate)

PHPackages © 2026

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