PHPackages                             mediagone/types-common-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/types-common-doctrine

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

mediagone/types-common-doctrine
===============================

Provides Doctrine types for mediagone/types-common package.

0.9.1(3mo ago)03.6k↓43.8%1MITPHPPHP ^7.4|^8.0

Since Mar 10Pushed 3mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (6)Versions (28)Used By (0)

Types Common for Doctrine
=========================

[](#types-common-for--doctrine)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8430b980340b4e705863061fe248fb515f5deffc65d2e2852c72390621c565f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d65646961676f6e652f74797065732d636f6d6d6f6e2d646f637472696e652e737667)](https://packagist.org/packages/mediagone/types-common-doctrine)[![Total Downloads](https://camo.githubusercontent.com/d45af5ab865ebeb8221a3834729038e7c944cede0fc151f211e4b2a73be3ea60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d65646961676f6e652f74797065732d636f6d6d6f6e2d646f637472696e652e737667)](https://packagist.org/packages/mediagone/types-common-doctrine)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

Provides Doctrine types for "mediagone/types-common" package.

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

[](#installation)

This package requires **PHP 7.4+** and Doctrine **DBAL 2.7+**

Add it as Composer dependency:

```
$ composer require mediagone/types-common-doctrine
```

### With Symfony

[](#with-symfony)

If you're using this package in a Symfony project, register utilized custom types in `doctrine.yaml`:

```
doctrine:
    dbal:
        types:
            app_slug: Mediagone\Doctrine\Types\Common\Text\SlugType
            ...
```

*Note: `app_slug` 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\Doctrine\Types\Common\Text\SlugType;

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

License
-------

[](#license)

*Types Common for Doctrine* is licensed under MIT license. See LICENSE file.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance81

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~70 days

Recently: every ~333 days

Total

27

Last Release

100d 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 (34 commits)")[![romm](https://avatars.githubusercontent.com/u/6342901?v=4)](https://github.com/romm "romm (2 commits)")

---

Tags

clean-codedoctrinedoctrine-typestypesvalue-objectstypedoctrinevalue objectsddd

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mediagone-types-common-doctrine/health.svg)

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

###  Alternatives

[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)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4747.0M12](/packages/fresh-doctrine-enum-bundle)[patchlevel/event-sourcing

A lightweight but also all-inclusive event sourcing library with a focus on developer experience

207362.9k13](/packages/patchlevel-event-sourcing)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)[vasek-purchart/doctrine-date-time-immutable-types

Doctrine DateTimeImmutable types

45230.0k](/packages/vasek-purchart-doctrine-date-time-immutable-types)

PHPackages © 2026

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