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(3mo ago)05291MITPHP

Since Feb 20Pushed 3mo 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 3w ago

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

40

—

FairBetter than 86% of packages

Maintenance81

Actively maintained with recent releases

Popularity13

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

99d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32240357?v=4)[Bruce](/maintainers/Mediagone)[@Mediagone](https://github.com/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.

90442.6M264](/packages/ramsey-uuid-doctrine)[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.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

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

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

58825.9M54](/packages/scienta-doctrine-json-functions)[vlucas/spot2

Simple DataMapper built on top of Doctrine DBAL

604396.4k7](/packages/vlucas-spot2)[laravel-doctrine/migrations

Doctrine Migrations for Laravel

792.9M17](/packages/laravel-doctrine-migrations)

PHPackages © 2026

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