PHPackages                             51systems/doctrine-extensions-module - 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. 51systems/doctrine-extensions-module

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

51systems/doctrine-extensions-module
====================================

Doctrine2 Extensions

v1.3.2(9y ago)0321LGPL-3.0PHPPHP &gt;=5.4

Since Aug 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/51systems/doctrine-extensions-module)[ Packagist](https://packagist.org/packages/51systems/doctrine-extensions-module)[ Docs](https://github.com/51systems/doctrine-extensions)[ RSS](/packages/51systems-doctrine-extensions-module/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (15)Used By (0)

doctrine-extensions
===================

[](#doctrine-extensions)

[![Build Status](https://camo.githubusercontent.com/e88113504803ea2fd54847645443d7cf0475a4510114d4c21e15c5ac8e44c443/68747470733a2f2f7472617669732d63692e6f72672f353173797374656d732f646f637472696e652d657874656e73696f6e732d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/51systems/doctrine-extensions-module)

Collection of extensions to the doctrine2 ORM

Features:
---------

[](#features)

- Controller Plugins
    - EntityManagerProvider (entityManagerProvider) - Returns the orm\_default entity manager
    - AuthenticatedUserProvider (authenticatedUserProvider) - Gets the currently authenticated user (if any)
    - InitFormPlugin (initForm) - Initializes forms that may need the entity manager. Also sets up a doctrine object hydrator.
- DataFixtures
    - AddIfNotPresentTrait - Helper trait to make it easy to only add fixture entities if they aren't already present in the database
- Types
    - UTCDateTime (`utc_datetime`) type as per [Doctrine Cookbook](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/cookbook/working-with-datetime.html). Be careful when querying from this
- Gedmo Extensions
    - Timestampable
        - Extends Timestampable extension to support UTCDateTime (`utc_datetime`). `DoctrineExtensions\Gedmo\Timestampable\TimestampableListener` should be used in place of `Gedmo\Timestampable\TimestampableListener` in config files
- Hydrators
    - Single Column Hydrator
- ORM
    - Repositories
        - SubclassRepositoryFactory that will return a repo that uses the most defined repo definition in the class hierarchy
    - Traits
        - UTCTimestampableEntity - [Timestampable](https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/timestampable.md)behaviour using UTCDateTime
        - EntityManagerAwareTrait - Provides getters/setters for object to hold and instance of an EntityManager.
    - Alias
        - A smarter alias to use with the doctrine query builder. Allows building / chaining of multiple aliases for subquries.

Skipper
-------

[](#skipper)

To get The custom type working in skipper, you need to make a [custom configuration file](https://help.skipper18.com/expert-usage/customization/configuration-files) and include the following:

```

```

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

[](#installation)

Install Via composer.

Add `DoctrineExtensions` to Modules in application.config.php

Config Setup
------------

[](#config-setup)

Copy doctrine-extensions.global.php.dist to your configuration directory and rename to doctrine-extensions.global.php. Modify as necessary.

Testing
-------

[](#testing)

Some of the unit tests depend on test classes from other modules. Use `--prefer-source` when installing composer to run them.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

13

Last Release

3458d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v1.2.1PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72230719?v=4)[51systems](/maintainers/51systems)[@51systems](https://github.com/51systems)

---

Top Contributors

[![powturns](https://avatars.githubusercontent.com/u/658883?v=4)](https://github.com/powturns "powturns (33 commits)")

---

Tags

doctrine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/51systems-doctrine-extensions-module/health.svg)

```
[![Health](https://phpackages.com/badges/51systems-doctrine-extensions-module/health.svg)](https://phpackages.com/packages/51systems-doctrine-extensions-module)
```

###  Alternatives

[scienta/doctrine-json-functions

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

58523.9M36](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[nettrine/extensions-atlantic18

Doctrine2 behavioral extensions for Nette Framework

12922.2k3](/packages/nettrine-extensions-atlantic18)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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