PHPackages                             mediagone/small-uid-doctrine - 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. mediagone/small-uid-doctrine

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

mediagone/small-uid-doctrine
============================

Provides Doctrine types for mediagone/small-uid package.

0.8.0(1mo ago)05281MITPHP

Since Feb 20Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Mediagone/small-uid-doctrine)[ Packagist](https://packagist.org/packages/mediagone/small-uid-doctrine)[ RSS](/packages/mediagone-small-uid-doctrine/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (9)Used By (1)

Small UID for Doctrine
======================

[](#small-uid-for-doctrine)

⚠️ *This project is in experimental phase, the API may change any time.*

[![Latest Version on Packagist](https://camo.githubusercontent.com/946e845325fcf8bd066750448392f586e5dd993e18d3f1e49d04759ee4f55ae2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d65646961676f6e652f736d616c6c2d7569642d646f637472696e652e737667)](https://packagist.org/packages/mediagone/small-uid-doctrine)[![Total Downloads](https://camo.githubusercontent.com/ef8830f6d558d1db01c468abaecaba21ab6e86124e1974879fa9ec794e618c76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d65646961676f6e652f736d616c6c2d7569642d646f637472696e652e737667)](https://packagist.org/packages/mediagone/small-uid-doctrine)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

Provides Doctrine types for `mediagone/small-uid` package:

- `SmallUidType`: binary (8 bytes)

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

[](#installation)

This package requires **PHP (64-bit) 7.4+** and **Doctrine DBAL 2.7+**

Add it as Composer dependency:

```
$ composer require mediagone/small-uid-doctrine
```

### With Symfony

[](#with-symfony)

If you're using this package in a Symfony project, register *Small UID* custom type in doctrine.yaml:

```
doctrine:
    dbal:
        types:
            smalluid: Mediagone\SmallUid\Doctrine\SmallUidType
```

*Note: `smalluid` being the type name you'll use in your Entity mappings, you can pick whatever name you wish.*

### As standalone

[](#as-standalone)

Custom types can also be used separately, but need to be registered in Doctrine DBAL like this:

```
use Doctrine\DBAL\Types\Type;
use Mediagone\SmallUid\Doctrine\SmallUidType;

Type::addType(SmallUidType::NAME, SmallUidType::class);
// or, with a custom name:
Type::addType('smalluid', SmallUidType::class);
```

License
-------

[](#license)

*Small UID for Doctrine* is licensed under MIT license. See LICENSE file.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance90

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Recently: every ~458 days

Total

8

Last Release

45d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

doctrineidentifieruliduuidtypedatabasedoctrineuuidguidentityUIDulidprimary key

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mediagone-small-uid-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/mediagone-small-uid-doctrine/health.svg)](https://phpackages.com/packages/mediagone-small-uid-doctrine)
```

###  Alternatives

[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[oro/doctrine-extensions

Doctrine Extensions for MySQL and PostgreSQL.

34411.8M19](/packages/oro-doctrine-extensions)[vlucas/spot2

Simple DataMapper built on top of Doctrine DBAL

605392.8k7](/packages/vlucas-spot2)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)

PHPackages © 2026

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